yum install -y wireshark
[root@lb01 ~]# wireshark -bash: wireshark: command not found
[root@lb01 ~]# whereis wireshark wireshark: /usr/lib64/wireshark /usr/share/wireshark
[root@lb01 ~]# cd /usr/lib64/wireshark/ [root@lb01 wireshark]# ls plugins python
[root@lb01 wireshark]# cd /usr/share/wireshark/;ls AUTHORS-SHORT diameter mergecap.html smi_modules capinfos.html dtd_gen.lua pdml2html.xsl text2pcap.html cfilters dtds profiles tpncp colorfilters dumpcap.html radius tshark.html console.lua editcap.html randpkt.html wimaxasncp COPYING help rawshark.html wireshark-filter.html dfilters ipmap.html reordercap.html wireshark.html dftest.html manuf services ws.css
解决方法:
http://forums.fedoraforum.org/showthread.php?p=1307301
yum search wireshark #(搜索匹配特定字符的rpm包)
yum install wireshark-gnome.x86_64 -y #(wireshark的图形界面)
[root@lb01 wireshark]# whereis wireshark wireshark: /usr/sbin/wireshark /usr/lib64/wireshark /usr/share/wireshark /usr/share/man/man1/wireshark.1.gz
不能显示:
[root@lb01 wireshark]# wireshark (wireshark:4539): Gtk-WARNING **: cannot open display: