Linux Network Monitoring

How to install WireShark on a Linux Ubuntu System


Wireshark is a free and open-source packet analyzer . It is utilized for network troubleshooting, analysis, software development, communications protocol development, and instruction. This article will show you how to install wireshark on Ubuntu 22.04. The commands will also work for older versions of Ubuntu as well. Other useful articles can be found here: How to Install PlayonLinux on a Linux System and How to install Windows Server 2022 on VirtualBox and How to Set Up and Use an Upstream Branch in Git andHow to install and Uninstall Discord in a Linux System and How to install Unison on a Linux System also How to install Redis on a Linux System .


  1. Ubuntu machine any version from 14.01 but for this exercises, we shall be using 22.04
  2. A user account with sudo priviledges
  3. Command line interface

The steps to install wireshark are as shown below:

Step1. Update Package index and System Dependencies

Run the following command on command line to update the core libraries:

sudo apt update 

Step2: Install WireShack

Run the following command on command line to install wireshark on linux ubuntu system:

sudo apt install wireshark

When prompted for a yes or a no, leave it in the default settings.

wireshark configuration
wireshark installation complete

Step3: Verify WireShark Installation

Use the command line to check if Wireshark was successfully installed on Ubuntu 22.04:

wireshark --version
wireshark version

Step4: Launch WireShark

Run the following command on command line to launch Wireshark on ubuntu:

sudo wireshark
wireshark launched

Step5 : Uninstall Wireshark

Run the following command on command line to remove Wireshark from ubuntu:

wireshark removed


Wireshark is an open source network analyer and can be installed on any Ubuntu system by following the steps shown above.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x