10

How do I install Wireshark in Red Hat Linux?

At the Wireshark download page, am I supposed to download "Standard package" for Red Hat under "Third-Party Package"? Does the Red Hat version have a GUI?

Aaron Copley
  • 12,525
  • 5
  • 47
  • 68
kumar
  • 309
  • 2
  • 8
  • 22

3 Answers3

22

You can use the yum command to install wireshark on RHEL

yum install wireshark

and

yum install wireshark-gnome

This is probably the best way to install the products as it will install the relevant dependencies at the same time.

user9517
  • 115,471
  • 20
  • 215
  • 297
2

You could download the Sourcecode from http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.8.0.tar.bz2. Then you unzip the sourcecode

bunzip2 wireshark-1.8.0.tar.bz2

Then untar the file

tar -xvf wireshark-1.8.0

Then change directory into the wireshark-directory and do the usual steps for installing from source:

./configure
make
make install

or you can use the yum-way described in the comment above. Actually that might work better because there might be dependencies.

Cornelius
  • 39
  • 2
  • 2
    Aieee! Do not tell a Linux newbie to compile programs from source code. That's unnecessary almost 100% of the time, scares the newbies away and defeats the purpose of package managers. Anyway, the package managers & software repositories are one very big thing Linux/BSD excels at! All this said, I'll have to -1 you. – Janne Pikkarainen Jul 03 '12 at 10:06
  • 1
    ok, thanks for the advice. you are absolutely right. – Cornelius Jul 03 '12 at 10:49
  • 4
    I don't agree, especially with the down voting. Let the new user decide what is more appealing to him. Where would you be today if you were using just software repositories ? :) – golja Jul 03 '12 at 12:22
  • 3
    This implies you are running `make` as root. Please don't do this! You can `./configure` & `make` unprivileged and then `sudo make install`. – Aaron Copley Jun 03 '13 at 18:52
  • I found this guide helpful: https://nullsec.us/wireshark-from-source-rhel-7/ – Paul Jun 21 '22 at 14:10
1

Just add this Fedora RHEL compatible repository (find it here: http://fedoraproject.org/wiki/EPEL ) with: rpm -Uvh "http://URL/" And then: made a classic Yum install as mentioned upper.

Dr I
  • 955
  • 17
  • 33