Centos7-Tshark安装

共三个指令完成
*yum whatprovides *tshark
yum install wireshark
y
y
y

*tshark -v
在这里插入图片描述

wgm@localhost ~]$ yum whatprovides tshark
已加载插件:fastestmirror, langpacks
Determining fastest mirrors

  • base: mirrors.nju.edu.cn
  • extras: mirrors.aliyun.com
  • updates: mirrors.aliyun.com
    base/7/x86_64/filelists_db | 7.2 MB 00:01
    extras/7/x86_64/filelists_db | 277 kB 00:00
    wireshark-1.10.14-25.el7.i686 : Network traffic analyzer
    源 :base
    匹配来源:
    文件名 :/usr/sbin/tshark
    文件名 :/usr/share/wireshark/tshark.html
    文件名 :/usr/share/man/man1/tshark.1.gz

wireshark-1.10.14-25.el7.x86_64 : Network traffic analyzer
源 :base
匹配来源:
文件名 :/usr/sbin/tshark
文件名 :/usr/share/wireshark/tshark.html
文件名 :/usr/share/man/man1/tshark.1.gz

[wgm@localhost ~]$ yum install wireshark
已加载插件:fastestmirror, langpacks
您需要 root 权限执行此命令。
[wgm@localhost ~]$ su root
密码:
[root@localhost wgm]# yum install wireshark
已加载插件:fastestmirror, langpacks
/var/run/yum.pid 已被锁定,PID 为 3439 的另一个程序正在运行。
Another app is currently holding the yum lock; waiting for it to exit…
另一个应用程序是:PackageKit
内存:157 M RSS (1.0 GB VSZ)
已启动: Tue Mar 29 07:35:37 2022 - 02:13之前
状态 :睡眠中,进程ID:3439
Another app is currently holding the yum lock; waiting for it to exit…
—> 软件包 wireshark.x86_64.0.1.10.14-25.el7 将被 安装
–> 正在处理依赖关系 libsmi.so.2()(64bit),它被软件包 wireshark-1.10.14-25.el7.x86_64 需要
–> 正在检查事务
—> 软件包 libsmi.x86_64.0.0.4.8-13.el7 将被 安装
–> 解决依赖关系完成

依赖关系解决
正在安装:
wireshark x86_64 1.10.14-25.el7 base 13 M
为依赖而安装:

=============================================================================================================================================================================================
安装 1 软件包 (+1 依赖软件包)

总下载量:15 M
安装大小:83 M
Is this ok [y/d/N]: y
Downloading packages:
警告:/var/cache/yum/x86_64/7/base/packages/libsmi-0.4.8-13.el7.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY ] 1.2 MB/s | 1.6 MB 00:00:11 ETA

总计 5.8 MB/s | 15 MB 00:00:02
从 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 检索密钥
导入 GPG key 0xF4A80EB5:
用户ID : “CentOS-7 Key (CentOS 7 Official Signing Key) security@centos.org
指纹 : 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
软件包 : centos-release-7-9.2009.0.el7.centos.x86_64 (@anaconda)
来自 : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
是否继续?[y/N]:y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : libsmi-0.4.8-13.el7.x86_64 1/2
正在安装 : wireshark-1.10.14-25.el7.x86_64 2/2
验证中 : libsmi-0.4.8-13.el7.x86_64 1/2
验证中 : wireshark-1.10.14-25.el7.x86_64 2/2

已安装:
wireshark.x86_64 0:1.10.14-25.el7

作为依赖被安装:
libsmi.x86_64 0:0.4.8-13.el7

完毕!

[root@localhost wgm]# tshark -v—测试tshark 安装情况
TShark 1.10.14 (Git Rev Unknown from unknown)
在这里插入图片描述

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

倚天仗剑走天涯WGM

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值