How to install Wireshark on Ubuntu

Endrit Qerreti

Endrit Qerreti

Wireshark is free and open source network analyzer tool that allows you to inspect packets on your network.

Wireshark supports multiple operating systems, including Linux. On Ubuntu, Wireshark provides a ppa that you can use to install Wireshark on your Ubuntu system.

Installing Wireshark on Ubuntu is very easy, and it can be done by using only the terminal.

In this tutorial, you will learn how to install Wireshark on Ubuntu.

Install Wireshark on Ubuntu

Step 1 - Add Wireshark PPA

In order to be able to install the latest version of Wireshark on your Ubuntu system, first you must add Wireshark PPA on your system.

Wireshark PPA allows you to install the latest version of Wireshark easily from your terminal.

To add Wireshark PPA on your Ubuntu system, run the following command

sudo add-apt-repository ppa:wireshark-dev/stable

Step 2 - Update your Ubuntu system

To make Wireshark PPA active on your system, you need to make sure to update your system.

Updating is necessary as without updating your system, wireshark ppa won't be activated, so you won't be able to install Wireshark.

Update your Ubuntu system, with

sudo apt-get update

Step 3 - Install Wireshark

Wireshark PPA should be active now on your system, and you can now proceed to install Wireshark.

To install Wireshark, simply run the command below

sudo apt-get install wireshark

Launch Wireshark

You can launch Wireshark via terminal or by using GUI.

To launch Wireshark via terminal, run the following

wireshark

To launch Wireshark using GUI without entering commands on your terminal, go to Applications menu, and launch Wireshark by clicking its icon.

Uninstall Wireshark on Ubuntu

You can uninstall wireshark, easily by running the command below

sudo apt remove wireshark --purge

Conclusion

In this tutorial, you learned how to install and uninstall Wireshark on Ubuntu.