-
假若CentOS能联网,如下命令即可安装:
yum install wireshark
加上图形界面:
yum -y install wireshark-gnome
-
离线安装,获取安装包
网站:https://pkgs.org/download/wireshark
一共需要三个*.rpm 包: wireshark 包,加上两个依赖包 libsmi, libcares(根据自己的系统版本下载,x86_64 是 64位系统使用的),直接点击如下三个链接下载也行:
http://mirror.centos.org/centos/7/os/x86_64/Packages/wireshark-1.10.14-16.el7.x86_64.rpm
http://mirror.centos.org/centos/7/os/x86_64/Packages/libsmi-0.4.8-13.el7.x86_64.rpm
http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/x86_64/RPMS.classic//libcares-1.15.0-alt1.x86_64.rpm -
安装命令:
rpm -Uvh *.rpm --nodeps --force
-
测试:
tshark -i ens32 port 21
网友评论