Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> How to install wireshark

Install using yum

create the DVD repo as per this guide

# yum search wireshark

there will be several packages, wireshark command line and graphical

to install command line wireshark (tshark) for x64

# yum install wireshark

to install graphical wireshark

# yum install wireshark-gnome

 

Install using rpm

# mkdir /mnt/cdrom

# mount /dev/cdrom /mnt/cdrom

# find /mnt/cdrom -name 'wireshark*.rpm'
/mnt/cdrom/Packages/wireshark-1.10.14-7.el7.i686.rpm
/mnt/cdrom/Packages/wireshark-1.10.14-7.el7.x86_64.rpm
/mnt/cdrom/Packages/wireshark-gnome-1.10.14-7.el7.x86_64.rpm

note the paths to the rpm

to install command line wireshark

# rpm -ivh /mnt/cdrom/Packages/wireshark-1.10.14-7.el7.x86_64.rpm

to install graphical wireshark

# rpm -ivh /mnt/cdrom/Packages/wireshark-gnome-1.10.14-7.el7.x86_64.rpm