Install Wireshark Network Analyzer on Ubuntu 16.04 | 18.04

Wireshark, the famous network analyzer that lets you see what’s happening on your network is available for Windows, MacOS and Linux systems. This brief tutorial is going to show students and new users how to install Wireshark on Ubuntu 16.04 | 18.04 easily.

If you’re a network admin and wish to do a deep inspection of hundreds of protocols and other activities on your network, then you’ll need a tool like Wireshark.

With Wireshark you can do live capture and offline analysis of network packets, network data can be browsed via a GUI, decrypt many protocols, including IPsec, ISAKMP, Kerberos and you can easily export captured data to XML, PostScript®, CSV, or plain text.

For more about Wireshark, please visit its homepage
When you’re ready to install Wireshark, follow the steps below:

Step 1: Install Wireshark via Ubuntu Repositories

By default, Wireshark comes via Ubuntu repositories. However, the version of Wireshark in the default repository might not neccessary be the latest.

If you just want quickly install Wireshark without the need for the latest version, then just open Ubuntu command terminal and run the commands below.

sudo apt update
sudo apt install wireshark

That should install Wireshark stable package that comes with Ubuntu.

Step 2: Install Wireshark via Its Repository

To get the latest version of Wireshark, you’ll need to add its package repository to Ubuntu and install it from there. Doing that will always get you the latest versions.

To install Wireshark from its repository, run the commands below:

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

During the installation, you should see a prompt to agree to allow wireshark member to collect packets.

 ┌────────────────┤ Configuring wireshark-common ├─────────────────┐
 │                                                                 │ 
 │ Dumpcap can be installed in a way that allows members of the      
 │ "wireshark" system group to capture packets. This is              
 │ recommended over the alternative of running Wireshark/Tshark      
 │ directly as root, because less of the code will run with          
 │ elevated privileges.                                              
 │                                                                   
 │ For more detailed information please see                          
 │ /usr/share/doc/wireshark-common/README.Debian.                    
 │                                                                   
 │                       <Ok>                                                   
 │                                                                 │ 
 └─────────────────────────────────────────────────────────────────┘ 

That should install the latest version of Wireshark.

After installing, you can then go to the Activities overview and search for it. Launch it and begin analysing your network packets.

Wireshark ubuntu install

That’s it! You have successfully installed Wireshark packet analyzer on Ubuntu 16.04 | 18.04 LTS

You may also like the post below: