How to install wireshark on RHEL 8 / CentOS 8 Linux

Wireshark is an extremely powerful and useful tool for any network administrator to have. This article will cover the installation part of Wireshark on RHEL 8 / CentOS 8.

In case you need more basic information or usage examples on how to engage with Wireshark visit our Basics of network protocol analyzer Wireshark On Linux guide.

In this tutorial you will learn:

  • How to install Wireshark as GUI application on RHEL 8 / CentOS 8.
  • How to install Wireshark as command line tool on RHEL 8 / CentOS 8.

Wireshark application on RHEL 8 / CentOS 8.

Wireshark application on RHEL 8 / CentOS 8.

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Red Hat Enterprise Linux 8
Software Wireshark 2.6.2
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

How to install wireshark on RHEL 8 / CentOS 8 Linux step by step instructions



Wireshark exists in two forms onRHEL 8 / CentOS 8 Linux. Firstly, you can install wireshark as a graphical user interface application. On the other hand if you do not have GUI/Desktop installed you can install and use Wireshark as a command line tool.

  1. 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
    
  2. Launch Wireshark.

    Launch the Wireshark GUI application from the Activities menu by searching for wireshark. In case you wish to use the command line Wireshark tools use the tshark command.

    $ tshark --version
    TShark (Wireshark) 2.6.2 (v2.6.2)
    

For more detailed Wireshark usage and examples visit our Basics of network protocol analyzer Wireshark On Linux guide.