Install WireShark CentOS

Are you trying to install a tool that helps in analyzing the network traffic? 

A good option is to install WireShark on CentOS.

Wireshark is a network packet analyzer. A network packet analyzer presents captured packet data in as much detail as possible.

It helps in troubleshooting common problems which include dropped packets, latency issues, and malicious activity on the server.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to enable WireShark.

In this context, we shall look into how to install WireShark on CentOS and fix its related errors.

More information about WireShark and its importance ?

Before getting into the installation part let's briefly discuss what WireShark is. Also, let's see why it is necessary on a server.

WireShark is a network analyzer tool. From a security perspective, it is a very important tool that provides the necessary details of the traffic.

Also, it captures the network packets and provides their details.

Moreover, it provides the necessary tools to dig deep into the traffic and find the root cause of the problem.

How we install WireShark on CentOS  ?

Let's move on to the installation part and see how our Support Experts install it on CentOS.

Before installing it let's make sure all the dependencies are available. 

We install the dependencies using the command:

$ 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

In Linux, the WireShark is available directly from the distribution's repositories. 

So we can easily install it via yum:

$ sudo yum install wireshark wireshark-qt

Common Errors with WireShark on CentOS ?

Having a decade of experience in managing servers, our Dedicated Experts are familiar with the WireShark errors.

Now, let's see a few errors that we commonly receive in WireShark and how our Support Experts fix them.

1. Out of Memory error

This is one of the annoying problems we come across. Usually, Wireshark will automatically terminate if it runs out of memory.

Recently, we received this error from one of our customers.

So to fix this error, our Support Experts increased the memory of the server.

Finally, this fixed the error.

2. Permission Denied error

This is one of the common errors that we receive after the installation. In case, if we receive this error when starting the WireShark as a local user then we can simply start it as root.

This will quickly fix the error.

Else, we can add the local user to the WireShark group.

[Need urgent assistance with network analyzing tools? – We are available 24*7. ]


This article will guide you on how to install WireShark on #CentOS. WireShark is one of the leading #network analyzing tools. It helps in troubleshooting the traffic problems of a server and malicious activity. 

Wireshark is an open-source, free network packet analyzer, used to capture and analyze network traffic in real-time.

Basically, with Wireshark you can capture and view data traveling through your network.

You can install WireShark with yum install wireshark-gnome . 

After you install it, the Wireshark application will be at /usr/sbin/wireshark .

To install #wireshark on RHEL 8 / CentOS 8 Linux step by step instructions:

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.

To install Wireshark from #terminal:

Open terminal and type the #commands:

i. sudo apt-get install wireshark.

ii. sudo dpkg-reconfigure wireshark-common.

iii. sudo adduser $USER wireshark.

iv. wireshark.

For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on

Also for Tech related tips, Visit or General Technical tips on