Why I can't find the bin file of wireshark package?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 3
  • wireshark

Issue

  • After install wireshark package, the bin file is not found.
  • Checking with "which" command as below, we can see that bin file don't exists.
# which wireshark
/usr/bin/which: no wireshark in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Resolution

  • To solve this problem and get the bin file of the wireshark you should install the wireshark-gnome package in order to have path /usr/bin/wireshark created.

    # yum install wireshark-gnome
    

It is important to know that wireshark-gnome is only used to analyze in a graphical and friendly format the network traffic information collected by tcpdump. So, you can continue using tcpdump command to make the capture and then analyze it using wireshak:

# tcpdump
# wireshark

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments