Install Wireshark on CentOS 8 - Best Method ?

Wireshark is the most popular freely available and an open-source best network analyzing tool. Using the Wireshark, the user can record or capture the incoming and outgoing network packets in a real-time environment that is further used for network troubleshooting, communication protocol development, packet analysis, and many more tasks.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Server Monitoring queries.

In this context, we shall look into how to install the Wireshark network analyzer tool on the CentOS 8 system.

How to Install Wireshark network analyzer tool on CentOS ?

Before performing this Installation procedure, ensure that the user has root privileges.

The Wireshark tool can be installed using a quite simple method.

To begin, Open the Terminal from the left sidebar of the 'Activities' section and follow the steps below.

1. Update system packages list

The following command will update the system packages list to ensure that you get the latest release of Wireshark software along with all dependencies.

$ sudo dnf install epel-release
$ sudo dnf update

2. Install Wireshark network analyzer

The Wireshark software you can install from the default CentOS package repositories using the dnf package manager. The following command will help you to install the Wireshark tool on your CentOS system:

$ sudo dnf install wireshark wireshark-cli

3. Access Wireshark tool

If you are running your system without GUI, Wireshark offers the command-line interface. However, you can also launch the GUI Wireshark environment according to your requirement. The best practice is to capture the log using CLI and then review it using the graphical interface. Display the installed Wireshark version by typing the below given command:

$ tshark --version

The installed Wireshark network analyzer version will be displayed on the terminal.

Sometimes, the user gets an error of 'Permission denied', when the Wireshark starts as the local user. In this case, start the Wireshark tool as root user or add this local user to the Wireshark group using the following command:

$ sudo usermod -a -G wireshark username

[Need assistance in fixing Software Packages Installation on Linux System ? We can help you. ]


This article covers how to install the Wireshark network analyzer tool on CentOS 8 system. Once Wireshark installed on your system, you can capture incoming and outgoing data packets over the network. Wireshark is free & Open source network packet analyzer that is used for network analysis, troubleshooting, etc. Wireshark is a cross-platform software that is available for various Linux/UNIX distributions, Mac-OS, Solaris, BSD & Windows, etc. It uses GTK to implement user interface & captures packets using PCAP. For additional help or useful information, we recommend you to check the official Wireshark website.

To Install package called Whireshark using the dnf command. For a GUI Wireshark application execute:

# dnf install wireshark

To install Wireshark command line tool only execute:

# dnf install wireshark-cli

Features of Wireshark includes:

  • Live packet capture & offline analysis.
  • A number of display filters.
  • Support for hundreds of protocol.
  • Rich VOIP analysis.
  • Read/write feature various file formats.
  • Live data can be read from ethernet port, Bluetooth, USB, Token rings tec.