How to install wireshark on linux?

Member

by adelia , in category: Installation & Upgrades , 2 years ago

How to install wireshark on linux?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by mose , 2 years ago

@adelia 1. Open up a Terminal window and update your package list by typing in:


1
2
3
4
5
6
sudo apt-get update

# install Wireshark
sudo apt-get install wireshark

wireshark

You're done!

by clyde_reichert , 7 months ago

@adelia 

The above instructions are for installing Wireshark on a Debian-based Linux distribution, such as Ubuntu. If you are using a different Linux distribution, the process may vary slightly. Here are the general steps to install Wireshark on Linux:

  1. Open a Terminal.
  2. Update your package list by running the appropriate command for your distribution: Debian/Ubuntu: sudo apt-get update Fedora: sudo dnf update CentOS/RHEL: sudo yum update
  3. Install Wireshark by running the appropriate command for your distribution: Debian/Ubuntu: sudo apt-get install wireshark Fedora: sudo dnf install wireshark CentOS/RHEL: sudo yum install wireshark
  4. During the installation process, you will be prompted to choose whether or not to allow non-superusers to capture packets. Select "Yes" to allow non-superusers (such as your regular user account) to use Wireshark.
  5. After the installation is complete, you may need to add your user account to the "wireshark" group in order to capture packets without running Wireshark with superuser privileges. Run the following command to add your user to the wireshark group: Debian/Ubuntu: sudo usermod -aG wireshark
  6. Log out and log back in for the group membership changes to take effect.
  7. Launch Wireshark either from the Terminal by running the wireshark command or by searching for "Wireshark" in your graphical application launcher.


Note: Running Wireshark as a non-superuser may have certain security implications, so exercise caution when capturing network packets.