AMP AMP

How to Install Wireshark on Fedora 34

To install Wireshark on Fedora 34

Introduction:

Wireshark is a free, cross-platform, and open-source packet analyzer developed using the Qt widget toolkit. It is also used for network troubleshooting, analysis, software development, and education. The GUI allows the user to put network interface controllers on the network's traffic.

Installation procedure:

Step 1: Check the Fedora version by using the below command

[root@linuxhelp ~]# cat /etc/os-release
NAME=Fedora
VERSION="34 (Workstation Edition)"
ID=fedora
VERSION_ID=34
VERSION_CODENAME=""

Step 2: Install the wireshark package by running the below command

 [root@linuxhelp ~]# dnf install wireshark 
determining the fastest mirror (44 hosts).. done.===============================]  11 kB/s | 3.5 kB     00:00 ETA
Remi's Modular repository - Fedora 34 - x86_64                                    296  B/s | 858  B     00:02    
done.s Modular repository - Fedora 34100% [=====================================]  11 kB/s | 3.5 kB     00:00 ETA
Remi's Modular repository - Fedora 34 - x86_64                                    522 kB/s | 511 kB     00:00    
Remi's RPM repository - Fedora 34 - x86_64                                        1.3 kB/s | 858  B     00:00    
Remi's RPM repository - Fedora 34 - x86_64                                        2.5 MB/s | 2.9 MB     00:01    
Dependencies resolved.
Installing:
 wireshark                       x86_64                1:3.6.0-1.fc34                updates                4.3 M
Installing dependencies:
 compat-lua-libs                 x86_64                5.1.5-18.fc34                 fedora                 169 k
 libsmi                          x86_64                0.4.8-28.fc34                         fedora                  2.1 M
 openal-soft                     x86_64                1.19.1-12.fc34                  fedora                  544 k
 qt5-qtmultimedia                x86_64                5.15.2-3.fc34              fedora                  799 k
 wireshark-cli                   x86_64                1:3.6.0-1.fc34                  updates                22 M


Installed:
  compat-lua-libs-5.1.5-18.fc34.x86_64    libsmi-0.4.8-28.fc34.x86_64       openal-soft-1.19.1-12.fc34.x86_64    
  qt5-qtmultimedia-5.15.2-3.fc34.x86_64   wireshark-1:3.6.0-1.fc34.x86_64   wireshark-cli-1:3.6.0-1.fc34.x86_64  

Complete!

Step 3: Search for Wireshark

Step 4: This is the wireshark application

By this the installation of Wireshark on Fedora 34 has been completed

FAQ
Q
What is Wireshark?
A
Wireshark is a free, cross-platform, and open-source packet analyzer using the Qt widget toolkit. It is used for network troubleshooting, analysis, software and communications protocol development, and education. It supports GUI and allows the user to put network interface controllers on the network's traffic.
Q
Can Wireshark capture all network traffic?
A
When capturing network traffic that isn't flowing through the machine running Wireshark or TShark, e.g. traffic between two or more other machines on an Ethernet segment, you will have to capture in promiscuous mode, and, on a switched Ethernet network, you will need to set up the machine specifically.
Q
Does Wireshark work on Windows Vista or Windows Server 2008?
A
Yes, but if we want to capture packets as a normal user, We need to make sure that npf.sys is loaded. Wireshark's installer enables this by default. This is not a concern if you run Wireshark as Administrator, but this is discouraged.
Q
Are there any plans to support {your favorite protocol}?
A
Support for particular protocols is added to Wireshark as a result of people contributing that support; no formal plans for adding support for particular protocols in particular future releases exist.
Q
What are the protocols that currently support the Wireshark?
A
There are hundreds of supported protocols and media that support the Wireshark which can be found in the wireshark(1) man page.