How to Install Wireshark on Ubuntu
In this article, we will examine how to install Wireshark on old and new versions of the Linux/Ubuntu operating system.
How to Set Up Wireshark on Ubuntu 20.04 / 19.10 / 19.04 / 18.10
Wireshark is a GUI based network packet analysis program that can run on Windows, Linux, macOS systems. Wireshark instantly analyzes and records packets on the network. In addition, Wireshark has a terminal program called “tshark” ve and contains the same features as the GUI.
For more information, check out What is Wireshark.
In our previous articles, we installed the Wireshark network packet analysis program on Windows 10.
In this article, we will examine step by step how to install and use Wireshark on Linux systems.
How to Setup Wireshark
The latest version of Wireshark is 3.2.5.
The first thing you need to do before installation, you must configure the Official Wireshark Repository.
Since it is available in Repository, its installation is very simple. Follow the steps below to install the network analysis program step by step.
Step 1
To add Wireshark to the Repository, open Terminal and perform the following command, then press Enter.
sudo add-apt-repository ppa:wireshark-dev/stable
Step 2
To update the package list, execute sudo apt-get update.
sudo apt-get update
Step 3
Starting wireshark installation From the terminal, execute sudo apt-get install wireshark.
sudo apt-get install wireshark
Step 4
Press Y to allow the installation of dependent packages for Wireshark, and then press Enter.
Step 5
If you want to allow non-superusers to perform packet analysis on the network, press Yes. We recommend that you do not allow non-superusers to perform packet analysis on a secure computer.
Step 6
After you have successfully installed Wireshark, you can check the version of the program in Help / About.
Video
You can watch the video below to set up Wireshark step by step and also subscribe to our YouTube channel to support us!
How to Uninstall Wireshark
You can use Terminal or Package Manager to uninstall Wireshark on PC completely. The easiest way to uninstall it is to use Terminal.
Follow the steps below to remove Wireshark from Linux.
Step 1
To view the locations where Wireshark is installed, execute the “whereis wireshark” command at the Terminal.
whereis wireshark
Step 2
In the terminal, execute sudo apt-get remove –autoremove wireshark wireshark-*.
sudo apt-get remove --autoremove wireshark wireshark-*
Step 3
Press Y to confirm Wireshark removal, and then press Enter.
Step 4
Check again the location where Wireshark is installed. If there is a file for Wireshark, delete it with the sudo rm -rf command.
sudo rm -rf /etc/wireshark/
Video
To completely uninstall Wireshark from your Linux system, you can watch the video below and also subscribe to our YouTube channel to support us!
Final Word
In this article, we have installed Wireshark, which allows you to perform network packet analysis on a Linux-based operating system. Thanks for following us!
Related Articles
♦ How to Build Wine on Ubuntu
♦ How to Setup openSUSE Leap 15
♦ How to Install KVM and QEMU on Linux Systems
♦ How to Configure Google Chrome
♦ How to Check System Info in Ubuntu