How to Install Wireshark Network Protocol Analyzer on CentOS 7

r00t February 21, 2018

Install Wireshark Network Protocol Analyzer on CentOS 7

In this tutorial we’ll learn how to install Wireshark Network Protocol Analyzer on CentOS 7. We will also install and configure its prerequisites. Wireshark is an open-source protocol analyzer software, very used for monitoring the network traffic. It captures network packets in real time & presents them in human readable format. Wireshark allows us to monitor the network packets up to microscopic levels. Wireshark also has a command line utility called ‘tshark‘ that performs the same functions as Wireshark, but through the terminal and not through the GUI.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Wireshark Network Protocol Analyzer on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum clean all
yum install epel-release -y
yum update -y

Step 2. Install all the dependencies.

Before we can install Wireshark, we need to make sure that all the dependencies for wireshark are present on the system:

yum install gcc gcc-c++ bison flex libpcap-devel qt-devel gtk3-devel rpm-build libtool c-ares-devel qt5-qtbase-devel qt5-qtmultimedia-devel qt5-linguist desktop-file-utils

Step 3. Installing Wireshark.

Install Wireshark using following command:

yum install wireshark wireshark-qt

Now to start the wireshark, either open it through the menu or execute the following command to start wireshark through terminal:


Congratulation’s! You have successfully install and configured Wireshark on your CentOS 7 server. Thanks for using this tutorial for installing Wireshark Network Protocol Analyzer on CentOS 7 system.

The Tags:

Leave a Comment

Comments are closed.