Linux 在 RHEL 上安装 tshark
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8237395/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Installing tshark on RHEL
提问by Chander Shivdasani
Is there a way to install tshark on RHEL machines using yum install?
有没有办法使用 yum install 在 RHEL 机器上安装 tshark?
when i did: yum install tshark
当我这样做时: yum install tshark
I got back:
我回来了:
Setting up Install Process
No package tshark available.
Nothing to do
When i did: yum list tsharkI got back:
当我这样做时: yum list tshark我回来了:
Loaded plugins: rhnplugin, security
Error: No matching Packages to list
采纳答案by Chander Shivdasani
The problem seems to be solved. To install tshark(CLI of wireshark) just do following:
问题似乎解决了。要安装 tshark(wireshark 的 CLI),只需执行以下操作:
sudo yum install wireshark
This will install tshark in /usr/sbin/tshark
这将安装 tshark /usr/sbin/tshark
To install wireshark with gui, do the following:
要使用 gui 安装wireshark,请执行以下操作:
sudo yum install wireshark-gnome