How to Install Wireshark on Ubuntu 20.04

Install Wireshark on Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure Wireshark on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Wireshark is the best tool for network analysis and packet investigation and is an open-source and freely available network analyzing tool. With Wireshark, you can capture network traffic in real-time and use it for network analysis, troubleshooting, education, development e.t.c. One of the features of Wireshark that you will love to learn is the display filter which lets you inspect only that traffic you are really interested in. Wireshark is available for various platforms including Windows, Linux, macOS, FreeBSD, and some others.

Install Wireshark on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Wireshark on Ubuntu system.

  • Install Wireshark using the default Ubuntu repository:
sudo apt install wireshark
  • Install Wireshark using PPA repository:
sudo add-apt-repository ppa:wireshark-dev/stable 
sudo apt update
sudo apt install wireshark

Check installed Wireshark version:

wireshark --version

Step 3. Accessing Wireshark.

Launching a Wireshark application can be done from the CLI or application launcher. To start Wireshark from GUI, search for Wireshark and hit the enter button. The same can be done from the command line by typing:

wireshark

That’s all you need to do to install Wireshark on Ubuntu 20.04 LTS Focal Fossa. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.