安装:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[uphie@centos7-server ~]$ sudo yum install -y nmap-ncat
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.ustc.edu.cn
* extras: mirrors.ustc.edu.cn
* updates: ftp.sjtu.edu.cn
正在解决依赖关系
--> 正在检查事务
---> 软件包 nmap-ncat.x86_64.2.6.40-19.el7 将被 安装
--> 正在处理依赖关系 libpcap.so.1()(64bit),它被软件包 2:nmap-ncat-6.40-19.el7.x86_64 需要
--> 正在检查事务
---> 软件包 libpcap.x86_64.14.1.5.3-13.el7_9 将被 安装
--> 解决依赖关系完成
依赖关系解决
=====================================================================================
Package 架构 版本 源 大小
=====================================================================================
正在安装:
nmap-ncat x86_64 2:6.40-19.el7 base 206 k
为依赖而安装:
libpcap x86_64 14:1.5.3-13.el7_9 updates 139 k
事务概要
=====================================================================================
安装 1 软件包 (+1 依赖软件包)
总下载量:345 k
安装大小:740 k
Downloading packages:
(1/2): libpcap-1.5.3-13.el7_9.x86_64.rpm | 139 kB 00:00:00
(2/2): nmap-ncat-6.40-19.el7.x86_64.rpm | 206 kB 00:00:00
-------------------------------------------------------------------------------------
总计 723 kB/s | 345 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : 14:libpcap-1.5.3-13.el7_9.x86_64 1/2
正在安装 : 2:nmap-ncat-6.40-19.el7.x86_64 2/2
验证中 : 2:nmap-ncat-6.40-19.el7.x86_64 1/2
验证中 : 14:libpcap-1.5.3-13.el7_9.x86_64 2/2
已安装:
nmap-ncat.x86_64 2:6.40-19.el7
作为依赖被安装:
libpcap.x86_64 14:1.5.3-13.el7_9
完毕!