fedora下安装wireshark - Weifeng Wang

<转>fedora下安装wireshark

一、安装

以root用户运行:yum install wireshark

二、运行

在终端中键入命令:

#wireshark

bash:wireshark:command not found

#whereis wireshark

wireshark: /usr/lib/wireshark /usr/share/wireshark

#cd /usr/lib/wireshark

#ls

plugins

#cd /usr/share/wireshark; ls

AUTHORS-SHORT dtds mergecap.html tshark.html

capinfos.html dumpcap.html radius wimaxasncp

cfilters editcap.html rawshark.html wireshark-filter.html

colorfilters help services wireshark.html

COPYING idl2wrs.html smi_modules ws.css

dfilters ipmap.html text2pcap.html

diameter manuf tpncp

解决方法:

http://forums.fedoraforum.org/showthread.php?p=1307301

yum search wireshark

yum install wireshark-gnome.i386

#whereis wireshark

wireshark: /usr/bin/wireshark /usr/sbin/wireshark /usr/share/wireshark /usr/share/man/man1/wireshark.1.gz

#wireshark

成功!

本篇文章来源于:开发学院 http://edu.codepub.com 原文链接:http://edu.codepub.com/2011/0219/29489.php

whereis:

whereis命令是定位可执行文件、源代码文件、帮助文件在文件系统中的位置

whereis命令的语法:whereis [-bmsu] [BMS 目录名 -f ] 文件名

whereis命令的各选项含义如下:

-b 定位可执行文件。

-m 定位帮助文件。

-s 定位源代码文件。

-u 搜索默认路径下除可执行文件、源代码文件、帮助文件以外的其它文件。

-B 指定搜索可执行文件的路径。

-M 指定搜索帮助文件的路径。

-S 指定搜索源代码文件的路径。