How to Install WireShark on Ubuntu 20.04 LTS

Table of Contents

Setting up WireShark on Ubuntu 20.04 LTS

The Wireshark packet analyzer is a free and open-source program. An analysis tool like this is helpful for network troubleshooting, software, protocol development, and education.


Wireshark shows packet details captured from different network media, Segmenting the Open Systems Interconnection model into the data link, network, transport, and application layers. Wireshark was initially known as Ethereal but was renamed after trademark issues in May 2006. Although Wireshark can be used legally, it is illegal for cyber professionals to monitor networks they are not authorized to monitor.


Let’s begin the installation process,


First, For the Ubuntu system to be registered on the VPSie platform, A VPSie account needs to be created if it hasn’t been made already.

Our example is based on an Ubuntu instance with GUI installed. Here is a link that will guide you to installing Ubuntu’s GUI if you do not already have it installed.

Now open your terminal and run the following commands to update your system.


# apt-get update && apt-get upgrade -y

Step 1: Add WireShark repository

Run the following command to do so:

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

Step 2: Install WireShark

Let’s install the WireShark now by running the following command:

# sudo apt install wireshark

This command will prompt a window that Wireshark requires superuser root privileges to operates so this asking you to disable or enable the permission enter with ‘YES’.




Now WireShark is running on your system. We can do this by two ways.



Run the following command to open via terminal:



# wireshark



Or you can go to Activities and then search for WireShark.







We have successfully installed WireShark on your Ubuntu instance. Thanks for reading! I hope it was informative for you! 


Learn more about


Difference between Secure Socket Layer (SSL) and Transport Layer Security (TLS)


Wireshark is a popular network protocol analyzer that allows you to capture, analyze, and troubleshoot network traffic. It is an open-source tool and can be used on a variety of platforms, including Ubuntu.

You can install Wireshark on Ubuntu by opening the terminal and running the following command: sudo apt-get install Wireshark. This will install Wireshark along with any necessary dependencies.

To capture network traffic with Wireshark on Ubuntu, first, open the Wireshark user interface. Then, select the network interface you want to capture traffic on from the list of available interfaces. Click on the “Capture” button to start the capture. You can stop the capture by clicking on the “Stop” button.

Wireshark provides a range of powerful analysis tools that allow you to explore and understand the captured network traffic. You can use the packet list pane to view individual packets, the packet details pane to examine the details of a selected packet, and the statistics pane to get an overview of the captured traffic.

Yes, you can export the analysis results from Wireshark on Ubuntu by selecting the relevant pane, such as the packet list or the statistics pane, and clicking on the “Export” button. You can choose the format of the exported data, such as CSV or HTML.

Yes, there are many additional features and plugins available for Wireshark on Ubuntu, such as additional protocol dissectors, advanced analysis tools, and visualization plugins. You can install these plugins from the Wireshark website or from the Ubuntu repository.

Make a Comment
Share on
VPSie Cloud service

Unlock Your

20% Discount

The First 3 orders get 20% discount! Try Sign up on VPSie to get a chance to get the discount.