1、更新
yum -y update
2、 下载
yum -y insatll wireshark
yum install -y wireshark-gnome
[root@localhost network-scripts]# yum -y insatll wireshark
Loaded plugins: fastestmirror, langpacks
No such command: insatll. Please use /usr/bin/yum --help
[root@localhost network-scripts]# yum -y install wireshark
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package wireshark.x86_64 0:1.10.14-25.el7 will be installed
--> Processing Dependency: libsmi.so.2()(64bit) for package: wireshark-1.10.14-25.el7.x86_64
--> Running transaction check
---> Package libsmi.x86_64 0:0.4.8-13.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================