FD.io VPP:用户文档:VPP RPM包的构建与离线安装

VPP RPM包的构建与离线安装


RToax
2020年9月




要开始使用VPP进行开发,您需要获取所需的VPP源代码,然后构建软件包。


1. 设置代理

如果你的服务器本地可以连接互联网,则跳过设置代理的步骤。

根据您所使用的环境,可能需要设置代理。运行以下代理命令以指定代理服务器名称和相应的端口号:

1.1. 设置HTTP代理

$ export http_proxy=http://<proxy-server-name>.com:<port-number>
$ export https_proxy=https://<proxy-server-name>.com:<port-number>

1.2. 设置YUM代理

编辑文件/etc/yum.conf,添加下面一行

proxy=http://10.175.0.13:808

1.3. 设置GIT代理

如果获取源代码采用git方式(github),在文件~/.gitconfig添加如下内容,该修改只对当前用户有效。

[http]
	proxy=http://10.175.0.13:808
[https]
	proxy=http://10.175.0.13:808

2. 获取VPP

要获取用于创建内部版本的VPP源,请运行以下命令:

2.1. 从gerrit.fd.io

$ git clone https://gerrit.fd.io/r/vpp
$ cd vpp

2.2. 从GitHub

如果使用github

$ git clone https://github.com/FDio/vpp

选择分支,我安装的是20.05版本

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-poFhcRGh-1600653130362)(_v_images/20200908095947580_11055.png)]


3. 安装VPP依赖

在构建VPP映像之前,通过输入以下命令,确保没有安装FD.io VPP或DPDK软件包:

$ dpkg -l | grep vpp
$ dpkg -l | grep DPDK

运行上述命令后,应该没有输出或没有显示任何程序包。

运行以下make命令以安装FD.io VPP的依赖项。

如果下载在任何时候都挂起,则可能需要 设置代理才能使下载正常工作。

$ make install-dep

最终指令运行成功的日志如下:

Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [803 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [732 kB]
...
...
Update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
Setting up default-jdk-headless (2:1.8-56ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ca-certificates (20160104ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.

3.1. 在我的虚拟机上的完整的log如下:

# make install-dep
已加载插件:fastestmirror, langpacks
fdio_release-source/signature                                                               |  819 B  00:00:00     
fdio_release-source/signature                                                               |  951 B  00:00:00 !!! 
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * centos-sclo-rh: mirror.bit.edu.cn
 * centos-sclo-sclo: ftp.sjtu.edu.cn
 * elrepo: dfw.mirror.rackspace.com
 * extras: mirror.bit.edu.cn
 * updates: ftp.sjtu.edu.cn
软件包 centos-release-scl-rh-2-3.el7.centos.noarch 已安装并且是最新版本
软件包 epel-release-7-11.noarch 已安装并且是最新版本
无须任何处理
已加载插件:fastestmirror, langpacks
没有安装组信息文件
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * centos-sclo-rh: mirror.bit.edu.cn
 * centos-sclo-sclo: ftp.sjtu.edu.cn
 * elrepo: dfw.mirror.rackspace.com
 * extras: mirror.bit.edu.cn
 * updates: ftp.sjtu.edu.cn
警告:分组 development 不包含任何可安装软件包。
Maybe run: yum groups mark install (see man yum)
指定组中没有可安装或升级的软件包
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * centos-sclo-rh: mirror.bit.edu.cn
 * centos-sclo-sclo: ftp.sjtu.edu.cn
 * elrepo: dfw.mirror.rackspace.com
 * extras: mirror.bit.edu.cn
 * updates: ftp.sjtu.edu.cn
软件包 redhat-lsb-4.1-27.el7.centos.1.x86_64 已安装并且是最新版本
软件包 check-0.9.9-5.el7.x86_64 已安装并且是最新版本
软件包 check-devel-0.9.9-5.el7.x86_64 已安装并且是最新版本
没有可用软件包 mbedtls-devel。
软件包 1:openssl-devel-1.0.2k-19.el7.x86_64 已安装并且是最新版本
没有可用软件包 python36-ply。
没有可用软件包 python36-jsonschema。
没有可用软件包 cmake3。
正在解决依赖关系
--> 正在检查事务
---> 软件包 apr-devel.x86_64.0.1.4.8-3.el7 将被 升级
---> 软件包 apr-devel.x86_64.0.1.4.8-5.el7 将被 更新
--> 正在处理依赖关系 apr = 1.4.8-5.el7,它被软件包 apr-devel-1.4.8-5.el7.x86_64 需要
---> 软件包 boost.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost.x86_64.0.1.53.0-28.el7 将被 更新
--> 正在处理依赖关系 boost-wave(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-timer(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-thread(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-test(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-system(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-signals(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-serialization(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-regex(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-random(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-python(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-program-options(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-math(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-locale(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-iostreams(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-graph(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-filesystem(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-date-time(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-context(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-chrono(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-atomic(x86-64) = 1.53.0-28.el7,它被软件包 boost-1.53.0-28.el7.x86_64 需要
---> 软件包 boost-devel.x86_64.0.1.53.0-27.el7 将被 升级
--> 正在处理依赖关系 boost-devel = 1.53.0-27.el7,它被软件包 boost-examples-1.53.0-27.el7.noarch 需要
--> 正在处理依赖关系 boost-devel(x86-64) = 1.53.0-27.el7,它被软件包 boost-static-1.53.0-27.el7.x86_64 需要
--> 正在处理依赖关系 boost-devel(x86-64) = 1.53.0-27.el7,它被软件包 boost-mpich-devel-1.53.0-27.el7.x86_64 需要
--> 正在处理依赖关系 boost-devel(x86-64) = 1.53.0-27.el7,它被软件包 boost-openmpi-devel-1.53.0-27.el7.x86_64 需要
---> 软件包 boost-devel.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 chrpath.x86_64.0.0.16-0.el7 将被 安装
---> 软件包 devtoolset-9.x86_64.0.9.1-0.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-perftools,它被软件包 devtoolset-9-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-runtime,它被软件包 devtoolset-9-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-toolchain,它被软件包 devtoolset-9-9.1-0.el7.x86_64 需要
---> 软件包 glibc-static.x86_64.0.2.17-292.el7 将被 升级
---> 软件包 glibc-static.x86_64.0.2.17-307.el7.1 将被 更新
--> 正在处理依赖关系 glibc-devel = 2.17-307.el7.1,它被软件包 glibc-static-2.17-307.el7.1.x86_64 需要
---> 软件包 libffi-devel.x86_64.0.3.0.13-18.el7 将被 升级
---> 软件包 libffi-devel.x86_64.0.3.0.13-19.el7 将被 更新
--> 正在处理依赖关系 libffi = 3.0.13-19.el7,它被软件包 libffi-devel-3.0.13-19.el7.x86_64 需要
---> 软件包 libuuid-devel.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libuuid-devel.x86_64.0.2.23.2-63.el7 将被 更新
--> 正在处理依赖关系 libuuid = 2.23.2-63.el7,它被软件包 libuuid-devel-2.23.2-63.el7.x86_64 需要
---> 软件包 numactl-devel.x86_64.0.2.0.12-3.el7 将被 升级
---> 软件包 numactl-devel.x86_64.0.2.0.12-5.el7 将被 更新
--> 正在处理依赖关系 numactl-libs = 2.0.12-5.el7,它被软件包 numactl-devel-2.0.12-5.el7.x86_64 需要
---> 软件包 python-virtualenv.noarch.0.15.1.0-2.el7 将被 升级
---> 软件包 python-virtualenv.noarch.0.15.1.0-4.el7_7 将被 更新
---> 软件包 python3-devel.x86_64.0.3.6.8-10.el7 将被 升级
--> 正在处理依赖关系 python3-devel(x86-64) = 3.6.8-10.el7,它被软件包 python3-debug-3.6.8-10.el7.x86_64 需要
---> 软件包 python3-devel.x86_64.0.3.6.8-13.el7 将被 更新
--> 正在处理依赖关系 python3-libs(x86-64) = 3.6.8-13.el7,它被软件包 python3-devel-3.6.8-13.el7.x86_64 需要
--> 正在处理依赖关系 python3 = 3.6.8-13.el7,它被软件包 python3-devel-3.6.8-13.el7.x86_64 需要
---> 软件包 python3-pip.noarch.0.9.0.3-5.el7 将被 升级
---> 软件包 python3-pip.noarch.0.9.0.3-7.el7_7 将被 更新
---> 软件包 rpm-build.x86_64.0.4.11.3-40.el7 将被 升级
---> 软件包 rpm-build.x86_64.0.4.11.3-43.el7 将被 更新
--> 正在处理依赖关系 rpm = 4.11.3-43.el7,它被软件包 rpm-build-4.11.3-43.el7.x86_64 需要
---> 软件包 selinux-policy.noarch.0.3.13.1-252.el7 将被 升级
--> 正在处理依赖关系 selinux-policy = 3.13.1-252.el7,它被软件包 selinux-policy-targeted-3.13.1-252.el7.noarch 需要
--> 正在处理依赖关系 selinux-policy = 3.13.1-252.el7,它被软件包 selinux-policy-targeted-3.13.1-252.el7.noarch 需要
---> 软件包 selinux-policy.noarch.0.3.13.1-266.el7_8.1 将被 更新
---> 软件包 selinux-policy-devel.noarch.0.3.13.1-252.el7 将被 升级
---> 软件包 selinux-policy-devel.noarch.0.3.13.1-266.el7_8.1 将被 更新
---> 软件包 yum-utils.noarch.0.1.1.31-52.el7 将被 升级
---> 软件包 yum-utils.noarch.0.1.1.31-54.el7_8 将被 更新
--> 正在检查事务
---> 软件包 apr.x86_64.0.1.4.8-3.el7 将被 升级
---> 软件包 apr.x86_64.0.1.4.8-5.el7 将被 更新
---> 软件包 boost-atomic.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-atomic.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-chrono.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-chrono.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-context.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-context.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-date-time.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-date-time.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-examples.noarch.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-examples.noarch.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-filesystem.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-filesystem.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-graph.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-graph.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-iostreams.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-iostreams.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-locale.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-locale.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-math.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-math.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-mpich-devel.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-mpich-devel.x86_64.0.1.53.0-28.el7 将被 更新
--> 正在处理依赖关系 boost-mpich-python(x86-64) = 1.53.0-28.el7,它被软件包 boost-mpich-devel-1.53.0-28.el7.x86_64 
需要--> 正在处理依赖关系 boost-mpich(x86-64) = 1.53.0-28.el7,它被软件包 boost-mpich-devel-1.53.0-28.el7.x86_64 需要
--> 正在处理依赖关系 boost-graph-mpich(x86-64) = 1.53.0-28.el7,它被软件包 boost-mpich-devel-1.53.0-28.el7.x86_64 
需要---> 软件包 boost-openmpi-devel.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-openmpi-devel.x86_64.0.1.53.0-28.el7 将被 更新
--> 正在处理依赖关系 boost-openmpi-python(x86-64) = 1.53.0-28.el7,它被软件包 boost-openmpi-devel-1.53.0-28.el7.x86
_64 需要--> 正在处理依赖关系 boost-openmpi(x86-64) = 1.53.0-28.el7,它被软件包 boost-openmpi-devel-1.53.0-28.el7.x86_64 需
要--> 正在处理依赖关系 boost-graph-openmpi(x86-64) = 1.53.0-28.el7,它被软件包 boost-openmpi-devel-1.53.0-28.el7.x86_
64 需要---> 软件包 boost-program-options.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-program-options.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-python.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-python.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-random.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-random.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-regex.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-regex.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-serialization.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-serialization.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-signals.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-signals.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-static.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-static.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-system.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-system.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-test.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-test.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-thread.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-thread.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-timer.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-timer.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-wave.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-wave.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 devtoolset-9-perftools.x86_64.0.9.1-0.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-oprofile,它被软件包 devtoolset-9-perftools-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-systemtap,它被软件包 devtoolset-9-perftools-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-valgrind,它被软件包 devtoolset-9-perftools-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-dyninst,它被软件包 devtoolset-9-perftools-9.1-0.el7.x86_64 需要
---> 软件包 devtoolset-9-runtime.x86_64.0.9.1-0.el7 将被 安装
---> 软件包 devtoolset-9-toolchain.x86_64.0.9.1-0.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-gcc,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-gcc-c++,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-gcc-gfortran,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-binutils,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-gdb,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-strace,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-dwz,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-elfutils,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-memstomp,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-ltrace,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
--> 正在处理依赖关系 devtoolset-9-make,它被软件包 devtoolset-9-toolchain-9.1-0.el7.x86_64 需要
---> 软件包 glibc-devel.i686.0.2.17-292.el7 将被 升级
---> 软件包 glibc-devel.x86_64.0.2.17-292.el7 将被 升级
---> 软件包 glibc-devel.i686.0.2.17-307.el7.1 将被 更新
--> 正在处理依赖关系 glibc-headers = 2.17-307.el7.1,它被软件包 glibc-devel-2.17-307.el7.1.i686 需要
--> 正在处理依赖关系 glibc = 2.17-307.el7.1,它被软件包 glibc-devel-2.17-307.el7.1.i686 需要
---> 软件包 glibc-devel.x86_64.0.2.17-307.el7.1 将被 更新
---> 软件包 libffi.i686.0.3.0.13-18.el7 将被 升级
---> 软件包 libffi.x86_64.0.3.0.13-18.el7 将被 升级
---> 软件包 libffi.i686.0.3.0.13-19.el7 将被 更新
---> 软件包 libffi.x86_64.0.3.0.13-19.el7 将被 更新
---> 软件包 libuuid.i686.0.2.23.2-59.el7_6.1 将被 升级
--> 正在处理依赖关系 libuuid = 2.23.2-59.el7_6.1,它被软件包 libblkid-2.23.2-59.el7_6.1.x86_64 需要
--> 正在处理依赖关系 libuuid = 2.23.2-59.el7_6.1,它被软件包 libmount-2.23.2-59.el7_6.1.x86_64 需要
--> 正在处理依赖关系 libuuid = 2.23.2-59.el7_6.1,它被软件包 libmount-2.23.2-59.el7_6.1.i686 需要
--> 正在处理依赖关系 libuuid = 2.23.2-59.el7_6.1,它被软件包 util-linux-2.23.2-59.el7_6.1.x86_64 需要
--> 正在处理依赖关系 libuuid = 2.23.2-59.el7_6.1,它被软件包 libblkid-2.23.2-59.el7_6.1.i686 需要
---> 软件包 libuuid.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libuuid.i686.0.2.23.2-63.el7 将被 更新
---> 软件包 libuuid.x86_64.0.2.23.2-63.el7 将被 更新
---> 软件包 numactl-libs.x86_64.0.2.0.12-3.el7 将被 升级
---> 软件包 numactl-libs.x86_64.0.2.0.12-5.el7 将被 更新
---> 软件包 python3.x86_64.0.3.6.8-10.el7 将被 升级
--> 正在处理依赖关系 python3 = 3.6.8-10.el7,它被软件包 python3-tkinter-3.6.8-10.el7.x86_64 需要
--> 正在处理依赖关系 python3 = 3.6.8-10.el7,它被软件包 python3-idle-3.6.8-10.el7.x86_64 需要
--> 正在处理依赖关系 python3 = 3.6.8-10.el7,它被软件包 python3-test-3.6.8-10.el7.x86_64 需要
---> 软件包 python3.x86_64.0.3.6.8-13.el7 将被 更新
---> 软件包 python3-debug.x86_64.0.3.6.8-10.el7 将被 升级
---> 软件包 python3-debug.x86_64.0.3.6.8-13.el7 将被 更新
---> 软件包 python3-libs.x86_64.0.3.6.8-10.el7 将被 升级
---> 软件包 python3-libs.x86_64.0.3.6.8-13.el7 将被 更新
---> 软件包 rpm.x86_64.0.4.11.3-40.el7 将被 升级
--> 正在处理依赖关系 rpm = 4.11.3-40.el7,它被软件包 rpm-python-4.11.3-40.el7.x86_64 需要
--> 正在处理依赖关系 rpm = 4.11.3-40.el7,它被软件包 rpm-libs-4.11.3-40.el7.x86_64 需要
--> 正在处理依赖关系 rpm = 4.11.3-40.el7,它被软件包 rpm-devel-4.11.3-40.el7.x86_64 需要
---> 软件包 rpm.x86_64.0.4.11.3-43.el7 将被 更新
---> 软件包 selinux-policy-targeted.noarch.0.3.13.1-252.el7 将被 升级
---> 软件包 selinux-policy-targeted.noarch.0.3.13.1-266.el7_8.1 将被 更新
--> 正在检查事务
---> 软件包 boost-graph-mpich.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-graph-mpich.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-graph-openmpi.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-graph-openmpi.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-mpich.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-mpich.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-mpich-python.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-mpich-python.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-openmpi.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-openmpi.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 boost-openmpi-python.x86_64.0.1.53.0-27.el7 将被 升级
---> 软件包 boost-openmpi-python.x86_64.0.1.53.0-28.el7 将被 更新
---> 软件包 devtoolset-9-binutils.x86_64.0.2.32-16.el7 将被 安装
---> 软件包 devtoolset-9-dwz.x86_64.0.0.12-1.1.el7 将被 安装
---> 软件包 devtoolset-9-dyninst.x86_64.0.10.1.0-4.el7 将被 安装
---> 软件包 devtoolset-9-elfutils.x86_64.0.0.176-6.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-elfutils-libelf(x86-64) = 0.176-6.el7,它被软件包 devtoolset-9-elfutils-0.176-6.e
l7.x86_64 需要--> 正在处理依赖关系 devtoolset-9-elfutils-libs(x86-64) = 0.176-6.el7,它被软件包 devtoolset-9-elfutils-0.176-6.el7
.x86_64 需要---> 软件包 devtoolset-9-gcc.x86_64.0.9.3.1-2.el7 将被 安装
---> 软件包 devtoolset-9-gcc-c++.x86_64.0.9.3.1-2.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-libstdc++-devel = 9.3.1-2.el7,它被软件包 devtoolset-9-gcc-c++-9.3.1-2.el7.x86_64
 需要---> 软件包 devtoolset-9-gcc-gfortran.x86_64.0.9.3.1-2.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-libquadmath-devel = 9.3.1-2.el7,它被软件包 devtoolset-9-gcc-gfortran-9.3.1-2.el7
.x86_64 需要---> 软件包 devtoolset-9-gdb.x86_64.0.8.3-3.el7 将被 安装
--> 正在处理依赖关系 libsource-highlight.so.4()(64bit),它被软件包 devtoolset-9-gdb-8.3-3.el7.x86_64 需要
---> 软件包 devtoolset-9-ltrace.x86_64.0.0.7.91-2.el7 将被 安装
---> 软件包 devtoolset-9-make.x86_64.1.4.2.1-2.el7 将被 安装
---> 软件包 devtoolset-9-memstomp.x86_64.0.0.1.5-5.el7 将被 安装
---> 软件包 devtoolset-9-oprofile.x86_64.0.1.3.0-4.el7 将被 安装
---> 软件包 devtoolset-9-strace.x86_64.0.5.1-7.el7 将被 安装
---> 软件包 devtoolset-9-systemtap.x86_64.0.4.1-9.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-systemtap-client = 4.1-9.el7,它被软件包 devtoolset-9-systemtap-4.1-9.el7.x86_64 
需要--> 正在处理依赖关系 devtoolset-9-systemtap-devel = 4.1-9.el7,它被软件包 devtoolset-9-systemtap-4.1-9.el7.x86_64 
需要---> 软件包 devtoolset-9-valgrind.x86_64.1.3.15.0-9.el7 将被 安装
---> 软件包 glibc.i686.0.2.17-292.el7 将被 升级
--> 正在处理依赖关系 glibc = 2.17-292.el7,它被软件包 glibc-utils-2.17-292.el7.x86_64 需要
--> 正在处理依赖关系 glibc = 2.17-292.el7,它被软件包 glibc-common-2.17-292.el7.x86_64 需要
---> 软件包 glibc.x86_64.0.2.17-292.el7 将被 升级
---> 软件包 glibc.i686.0.2.17-307.el7.1 将被 更新
---> 软件包 glibc.x86_64.0.2.17-307.el7.1 将被 更新
---> 软件包 glibc-headers.x86_64.0.2.17-292.el7 将被 升级
---> 软件包 glibc-headers.x86_64.0.2.17-307.el7.1 将被 更新
---> 软件包 libblkid.i686.0.2.23.2-59.el7_6.1 将被 升级
--> 正在处理依赖关系 libblkid = 2.23.2-59.el7_6.1,它被软件包 libblkid-devel-2.23.2-59.el7_6.1.x86_64 需要
---> 软件包 libblkid.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libblkid.i686.0.2.23.2-63.el7 将被 更新
---> 软件包 libblkid.x86_64.0.2.23.2-63.el7 将被 更新
---> 软件包 libmount.i686.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libmount.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libmount.i686.0.2.23.2-63.el7 将被 更新
---> 软件包 libmount.x86_64.0.2.23.2-63.el7 将被 更新
---> 软件包 python3-idle.x86_64.0.3.6.8-10.el7 将被 升级
---> 软件包 python3-idle.x86_64.0.3.6.8-13.el7 将被 更新
---> 软件包 python3-test.x86_64.0.3.6.8-10.el7 将被 升级
---> 软件包 python3-test.x86_64.0.3.6.8-13.el7 将被 更新
---> 软件包 python3-tkinter.x86_64.0.3.6.8-10.el7 将被 升级
---> 软件包 python3-tkinter.x86_64.0.3.6.8-13.el7 将被 更新
---> 软件包 rpm-devel.x86_64.0.4.11.3-40.el7 将被 升级
---> 软件包 rpm-devel.x86_64.0.4.11.3-43.el7 将被 更新
--> 正在处理依赖关系 rpm-build-libs(x86-64) = 4.11.3-43.el7,它被软件包 rpm-devel-4.11.3-43.el7.x86_64 需要
---> 软件包 rpm-libs.x86_64.0.4.11.3-40.el7 将被 升级
---> 软件包 rpm-libs.x86_64.0.4.11.3-43.el7 将被 更新
---> 软件包 rpm-python.x86_64.0.4.11.3-40.el7 将被 升级
---> 软件包 rpm-python.x86_64.0.4.11.3-43.el7 将被 更新
---> 软件包 util-linux.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 util-linux.x86_64.0.2.23.2-63.el7 将被 更新
--> 正在处理依赖关系 libsmartcols = 2.23.2-63.el7,它被软件包 util-linux-2.23.2-63.el7.x86_64 需要
--> 正在检查事务
---> 软件包 devtoolset-9-elfutils-libelf.x86_64.0.0.176-6.el7 将被 安装
---> 软件包 devtoolset-9-elfutils-libs.x86_64.0.0.176-6.el7 将被 安装
---> 软件包 devtoolset-9-libquadmath-devel.x86_64.0.9.3.1-2.el7 将被 安装
---> 软件包 devtoolset-9-libstdc++-devel.x86_64.0.9.3.1-2.el7 将被 安装
---> 软件包 devtoolset-9-systemtap-client.x86_64.0.4.1-9.el7 将被 安装
--> 正在处理依赖关系 devtoolset-9-systemtap-runtime = 4.1-9.el7,它被软件包 devtoolset-9-systemtap-client-4.1-9.el7
.x86_64 需要---> 软件包 devtoolset-9-systemtap-devel.x86_64.0.4.1-9.el7 将被 安装
---> 软件包 glibc-common.x86_64.0.2.17-292.el7 将被 升级
---> 软件包 glibc-common.x86_64.0.2.17-307.el7.1 将被 更新
---> 软件包 glibc-utils.x86_64.0.2.17-292.el7 将被 升级
---> 软件包 glibc-utils.x86_64.0.2.17-307.el7.1 将被 更新
---> 软件包 libblkid-devel.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libblkid-devel.x86_64.0.2.23.2-63.el7 将被 更新
---> 软件包 libsmartcols.x86_64.0.2.23.2-59.el7_6.1 将被 升级
---> 软件包 libsmartcols.x86_64.0.2.23.2-63.el7 将被 更新
---> 软件包 rpm-build-libs.x86_64.0.4.11.3-40.el7 将被 升级
--> 正在处理依赖关系 rpm-build-libs(x86-64) = 4.11.3-40.el7,它被软件包 rpm-sign-4.11.3-40.el7.x86_64 需要
---> 软件包 rpm-build-libs.x86_64.0.4.11.3-43.el7 将被 更新
---> 软件包 source-highlight.x86_64.0.3.1.6-6.el7 将被 安装
--> 正在检查事务
---> 软件包 devtoolset-9-systemtap-runtime.x86_64.0.4.1-9.el7 将被 安装
---> 软件包 rpm-sign.x86_64.0.4.11.3-40.el7 将被 升级
---> 软件包 rpm-sign.x86_64.0.4.11.3-43.el7 将被 更新
--> 解决依赖关系完成

依赖关系解决

===================================================================================================================
 Package                                 架构            版本                        源                       大小
===================================================================================================================
正在安装:
 chrpath                                 x86_64          0.16-0.el7                  base                     26 k
 devtoolset-9                            x86_64          9.1-0.el7                   centos-sclo-rh          5.4 k
正在更新:
 apr-devel                               x86_64          1.4.8-5.el7                 base                    188 k
 boost                                   x86_64          1.53.0-28.el7               base                     33 k
 boost-devel                             x86_64          1.53.0-28.el7               base                    7.0 M
 glibc-static                            x86_64          2.17-307.el7.1              base                    1.6 M
 libffi-devel                            x86_64          3.0.13-19.el7               base                     23 k
 libuuid-devel                           x86_64          2.23.2-63.el7               base                     92 k
 numactl-devel                           x86_64          2.0.12-5.el7                base                     24 k
 python-virtualenv                       noarch          15.1.0-4.el7_7              updates                 1.7 M
 python3-devel                           x86_64          3.6.8-13.el7                base                    215 k
 python3-pip                             noarch          9.0.3-7.el7_7               updates                 1.8 M
 rpm-build                               x86_64          4.11.3-43.el7               base                    149 k
 selinux-policy                          noarch          3.13.1-266.el7_8.1          updates                 497 k
 selinux-policy-devel                    noarch          3.13.1-266.el7_8.1          updates                 1.7 M
 yum-utils                               noarch          1.1.31-54.el7_8             updates                 122 k
为依赖而安装:
 devtoolset-9-binutils                   x86_64          2.32-16.el7                 centos-sclo-rh          5.9 M
 devtoolset-9-dwz                        x86_64          0.12-1.1.el7                centos-sclo-rh           98 k
 devtoolset-9-dyninst                    x86_64          10.1.0-4.el7                centos-sclo-rh          3.8 M
 devtoolset-9-elfutils                   x86_64          0.176-6.el7                 centos-sclo-rh          431 k
 devtoolset-9-elfutils-libelf            x86_64          0.176-6.el7                 centos-sclo-rh          203 k
 devtoolset-9-elfutils-libs              x86_64          0.176-6.el7                 centos-sclo-rh          311 k
 devtoolset-9-gcc                        x86_64          9.3.1-2.el7                 centos-sclo-rh           32 M
 devtoolset-9-gcc-c++                    x86_64          9.3.1-2.el7                 centos-sclo-rh           12 M
 devtoolset-9-gcc-gfortran               x86_64          9.3.1-2.el7                 centos-sclo-rh           13 M
 devtoolset-9-gdb                        x86_64          8.3-3.el7                   centos-sclo-rh          3.6 M
 devtoolset-9-libquadmath-devel          x86_64          9.3.1-2.el7                 centos-sclo-rh          171 k
 devtoolset-9-libstdc++-devel            x86_64          9.3.1-2.el7                 centos-sclo-rh          3.1 M
 devtoolset-9-ltrace                     x86_64          0.7.91-2.el7                centos-sclo-rh          148 k
 devtoolset-9-make                       x86_64          1:4.2.1-2.el7               centos-sclo-rh          485 k
 devtoolset-9-memstomp                   x86_64          0.1.5-5.el7                 centos-sclo-rh          442 k
 devtoolset-9-oprofile                   x86_64          1.3.0-4.el7                 centos-sclo-rh          1.8 M
 devtoolset-9-perftools                  x86_64          9.1-0.el7                   centos-sclo-rh          2.8 k
 devtoolset-9-runtime                    x86_64          9.1-0.el7                   centos-sclo-rh           20 k
 devtoolset-9-strace                     x86_64          5.1-7.el7                   centos-sclo-rh          1.1 M
 devtoolset-9-systemtap                  x86_64          4.1-9.el7                   centos-sclo-rh           13 k
 devtoolset-9-systemtap-client           x86_64          4.1-9.el7                   centos-sclo-rh          2.9 M
 devtoolset-9-systemtap-devel            x86_64          4.1-9.el7                   centos-sclo-rh          2.3 M
 devtoolset-9-systemtap-runtime          x86_64          4.1-9.el7                   centos-sclo-rh          433 k
 devtoolset-9-toolchain                  x86_64          9.1-0.el7                   centos-sclo-rh          3.0 k
 devtoolset-9-valgrind                   x86_64          1:3.15.0-9.el7              centos-sclo-rh           12 M
 source-highlight                        x86_64          3.1.6-6.el7                 base                    611 k
为依赖而更新:
 apr                                     x86_64          1.4.8-5.el7                 base                    103 k
 boost-atomic                            x86_64          1.53.0-28.el7               base                     35 k
 boost-chrono                            x86_64          1.53.0-28.el7               base                     44 k
 boost-context                           x86_64          1.53.0-28.el7               base                     37 k
 boost-date-time                         x86_64          1.53.0-28.el7               base                     52 k
 boost-examples                          noarch          1.53.0-28.el7               base                    3.1 M
 boost-filesystem                        x86_64          1.53.0-28.el7               base                     68 k
 boost-graph                             x86_64          1.53.0-28.el7               base                    136 k
 boost-graph-mpich                       x86_64          1.53.0-28.el7               base                     88 k
 boost-graph-openmpi                     x86_64          1.53.0-28.el7               base                    102 k
 boost-iostreams                         x86_64          1.53.0-28.el7               base                     61 k
 boost-locale                            x86_64          1.53.0-28.el7               base                    251 k
 boost-math                              x86_64          1.53.0-28.el7               base                    335 k
 boost-mpich                             x86_64          1.53.0-28.el7               base                     61 k
 boost-mpich-devel                       x86_64          1.53.0-28.el7               base                     33 k
 boost-mpich-python                      x86_64          1.53.0-28.el7               base                    184 k
 boost-openmpi                           x86_64          1.53.0-28.el7               base                     75 k
 boost-openmpi-devel                     x86_64          1.53.0-28.el7               base                     33 k
 boost-openmpi-python                    x86_64          1.53.0-28.el7               base                    206 k
 boost-program-options                   x86_64          1.53.0-28.el7               base                    156 k
 boost-python                            x86_64          1.53.0-28.el7               base                    133 k
 boost-random                            x86_64          1.53.0-28.el7               base                     39 k
 boost-regex                             x86_64          1.53.0-28.el7               base                    296 k
 boost-serialization                     x86_64          1.53.0-28.el7               base                    169 k
 boost-signals                           x86_64          1.53.0-28.el7               base                     61 k
 boost-static                            x86_64          1.53.0-28.el7               base                    3.6 M
 boost-system                            x86_64          1.53.0-28.el7               base                     40 k
 boost-test                              x86_64          1.53.0-28.el7               base                    223 k
 boost-thread                            x86_64          1.53.0-28.el7               base                     58 k
 boost-timer                             x86_64          1.53.0-28.el7               base                     43 k
 boost-wave                              x86_64          1.53.0-28.el7               base                    213 k
 glibc                                   i686            2.17-307.el7.1              base                    4.3 M
 glibc                                   x86_64          2.17-307.el7.1              base                    3.6 M
 glibc-common                            x86_64          2.17-307.el7.1              base                     11 M
 glibc-devel                             i686            2.17-307.el7.1              base                    1.1 M
 glibc-devel                             x86_64          2.17-307.el7.1              base                    1.1 M
 glibc-headers                           x86_64          2.17-307.el7.1              base                    689 k
 glibc-utils                             x86_64          2.17-307.el7.1              base                    227 k
 libblkid                                i686            2.23.2-63.el7               base                    186 k
 libblkid                                x86_64          2.23.2-63.el7               base                    182 k
 libblkid-devel                          x86_64          2.23.2-63.el7               base                     80 k
 libffi                                  i686            3.0.13-19.el7               base                     27 k
 libffi                                  x86_64          3.0.13-19.el7               base                     30 k
 libmount                                i686            2.23.2-63.el7               base                    183 k
 libmount                                x86_64          2.23.2-63.el7               base                    184 k
 libsmartcols                            x86_64          2.23.2-63.el7               base                    142 k
 libuuid                                 i686            2.23.2-63.el7               base                     84 k
 libuuid                                 x86_64          2.23.2-63.el7               base                     83 k
 numactl-libs                            x86_64          2.0.12-5.el7                base                     30 k
 python3                                 x86_64          3.6.8-13.el7                base                     69 k
 python3-debug                           x86_64          3.6.8-13.el7                base                    2.7 M
 python3-idle                            x86_64          3.6.8-13.el7                base                    778 k
 python3-libs                            x86_64          3.6.8-13.el7                base                    7.0 M
 python3-test                            x86_64          3.6.8-13.el7                base                    7.2 M
 python3-tkinter                         x86_64          3.6.8-13.el7                base                    365 k
 rpm                                     x86_64          4.11.3-43.el7               base                    1.2 M
 rpm-build-libs                          x86_64          4.11.3-43.el7               base                    107 k
 rpm-devel                               x86_64          4.11.3-43.el7               base                    108 k
 rpm-libs                                x86_64          4.11.3-43.el7               base                    278 k
 rpm-python                              x86_64          4.11.3-43.el7               base                     84 k
 rpm-sign                                x86_64          4.11.3-43.el7               base                     49 k
 selinux-policy-targeted                 noarch          3.13.1-266.el7_8.1          updates                 7.0 M
 util-linux                              x86_64          2.23.2-63.el7               base                    2.0 M

事务概要
===================================================================================================================
安装   2 软件包 (+26 依赖软件包)
升级  14 软件包 (+63 依赖软件包)

总计:174 M
总下载量:159 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
No Presto metadata available for centos-sclo-rh
No Presto metadata available for updates
(1/65): boost-devel-1.53.0-28.el7.x86_64.rpm                                                | 7.0 MB  00:00:02     
(2/65): devtoolset-9-binutils-2.32-16.el7.x86_64.rpm                                        | 5.9 MB  00:00:37     
(3/65): devtoolset-9-libquadmath-devel-9.3.1-2.el7.x86_64.rpm                               | 171 kB  00:00:01     
(4/65): devtoolset-9-libstdc++-devel-9.3.1-2.el7.x86_64.rpm                                 | 3.1 MB  00:00:29     
(5/65): devtoolset-9-ltrace-0.7.91-2.el7.x86_64.rpm                                         | 148 kB  00:00:01     
(6/65): devtoolset-9-gdb-8.3-3.el7.x86_64.rpm                                               | 3.6 MB  00:01:11     
(7/65): devtoolset-9-make-4.2.1-2.el7.x86_64.rpm                                            | 485 kB  00:00:04     
(8/65): devtoolset-9-memstomp-0.1.5-5.el7.x86_64.rpm                                        | 442 kB  00:00:11     
(9/65): devtoolset-9-perftools-9.1-0.el7.x86_64.rpm                                         | 2.8 kB  00:00:00     
(10/65): devtoolset-9-runtime-9.1-0.el7.x86_64.rpm                                          |  20 kB  00:00:00     
(11/65): devtoolset-9-oprofile-1.3.0-4.el7.x86_64.rpm                                       | 1.8 MB  00:00:19     
(12/65): devtoolset-9-systemtap-4.1-9.el7.x86_64.rpm                                        |  13 kB  00:00:00     
(13/65): devtoolset-9-strace-5.1-7.el7.x86_64.rpm                                           | 1.1 MB  00:00:10     
(14/65): devtoolset-9-systemtap-devel-4.1-9.el7.x86_64.rpm                                  | 2.3 MB  00:00:20     
(15/65): devtoolset-9-systemtap-client-4.1-9.el7.x86_64.rpm                                 | 2.9 MB  00:00:25     
(16/65): devtoolset-9-toolchain-9.1-0.el7.x86_64.rpm                                        | 3.0 kB  00:00:00     
(17/65): devtoolset-9-systemtap-runtime-4.1-9.el7.x86_64.rpm                                | 433 kB  00:00:03     
(18/65): glibc-2.17-307.el7.1.i686.rpm                                                      | 4.3 MB  00:00:42     
(19/65): glibc-2.17-307.el7.1.x86_64.rpm                                                    | 3.6 MB  00:00:39     
(20/65): devtoolset-9-gcc-9.3.1-2.el7.x86_64.rpm                                            |  32 MB  00:03:38     
(21/65): glibc-devel-2.17-307.el7.1.i686.rpm                                                | 1.1 MB  00:00:08     
(22/65): devtoolset-9-gcc-gfortran-9.3.1-2.el7.x86_64.rpm                                   |  13 MB  00:03:48     
(23/65): devtoolset-9-valgrind-3.15.0-9.el7.x86_64.rpm                                      |  12 MB  00:01:51     
(24/65): glibc-headers-2.17-307.el7.1.x86_64.rpm                                            | 689 kB  00:00:11     
(25/65): glibc-utils-2.17-307.el7.1.x86_64.rpm                                              | 227 kB  00:00:01     
(26/65): glibc-devel-2.17-307.el7.1.x86_64.rpm                                              | 1.1 MB  00:00:17     
(27/65): libblkid-2.23.2-63.el7.x86_64.rpm                                                  | 182 kB  00:00:01     
(28/65): libblkid-2.23.2-63.el7.i686.rpm                                                    | 186 kB  00:00:06     
(29/65): libblkid-devel-2.23.2-63.el7.x86_64.rpm                                            |  80 kB  00:00:01     
(30/65): libffi-3.0.13-19.el7.x86_64.rpm                                                    |  30 kB  00:00:00     
(31/65): glibc-static-2.17-307.el7.1.x86_64.rpm                                             | 1.6 MB  00:00:18     
(32/65): libmount-2.23.2-63.el7.i686.rpm                                                    | 183 kB  00:00:01     
(33/65): libffi-3.0.13-19.el7.i686.rpm                                                      |  27 kB  00:00:05     
(34/65): libmount-2.23.2-63.el7.x86_64.rpm                                                  | 184 kB  00:00:03     
(35/65): libuuid-2.23.2-63.el7.i686.rpm                                                     |  84 kB  00:00:00     
(36/65): libffi-devel-3.0.13-19.el7.x86_64.rpm                                              |  23 kB  00:00:06     
(37/65): libsmartcols-2.23.2-63.el7.x86_64.rpm                                              | 142 kB  00:00:03     
(38/65): numactl-devel-2.0.12-5.el7.x86_64.rpm                                              |  24 kB  00:00:00     
(39/65): numactl-libs-2.0.12-5.el7.x86_64.rpm                                               |  30 kB  00:00:00     
(40/65): libuuid-devel-2.23.2-63.el7.x86_64.rpm                                             |  92 kB  00:00:01     
(41/65): libuuid-2.23.2-63.el7.x86_64.rpm                                                   |  83 kB  00:00:02     
(42/65): python3-3.6.8-13.el7.x86_64.rpm                                                    |  69 kB  00:00:00     
(43/65): python3-devel-3.6.8-13.el7.x86_64.rpm                                              | 215 kB  00:00:03     
(44/65): python3-idle-3.6.8-13.el7.x86_64.rpm                                               | 778 kB  00:00:15     
(45/65): python-virtualenv-15.1.0-4.el7_7.noarch.rpm                                        | 1.7 MB  00:00:20     
(46/65): python3-pip-9.0.3-7.el7_7.noarch.rpm                                               | 1.8 MB  00:00:17     
(47/65): python3-debug-3.6.8-13.el7.x86_64.rpm                                              | 2.7 MB  00:00:58     
(48/65): glibc-common-2.17-307.el7.1.x86_64.rpm                                             |  11 MB  00:01:58     
(49/65): python3-tkinter-3.6.8-13.el7.x86_64.rpm                                            | 365 kB  00:00:09     
(50/65): rpm-build-4.11.3-43.el7.x86_64.rpm                                                 | 149 kB  00:00:02     
(51/65): rpm-build-libs-4.11.3-43.el7.x86_64.rpm                                            | 107 kB  00:00:00     
(52/65): rpm-devel-4.11.3-43.el7.x86_64.rpm                                                 | 108 kB  00:00:03     
(53/65): rpm-4.11.3-43.el7.x86_64.rpm                                                       | 1.2 MB  00:00:11     
(54/65): rpm-python-4.11.3-43.el7.x86_64.rpm                                                |  84 kB  00:00:00     
(55/65): rpm-sign-4.11.3-43.el7.x86_64.rpm                                                  |  49 kB  00:00:00     
(56/65): rpm-libs-4.11.3-43.el7.x86_64.rpm                                                  | 278 kB  00:00:03     
(57/65): selinux-policy-3.13.1-266.el7_8.1.noarch.rpm                                       | 497 kB  00:00:09     
(58/65): selinux-policy-devel-3.13.1-266.el7_8.1.noarch.rpm                                 | 1.7 MB  00:00:14     
(59/65): devtoolset-9-gcc-c++-9.3.1-2.el7.x86_64.rpm                                        |  12 MB  00:05:52     
(60/65): source-highlight-3.1.6-6.el7.x86_64.rpm                                            | 611 kB  00:00:15     
(61/65): yum-utils-1.1.31-54.el7_8.noarch.rpm                                               | 122 kB  00:00:01     
(62/65): util-linux-2.23.2-63.el7.x86_64.rpm                                                | 2.0 MB  00:00:17     
(63/65): selinux-policy-targeted-3.13.1-266.el7_8.1.noarch.rpm                              | 7.0 MB  00:01:02     
(64/65): python3-test-3.6.8-13.el7.x86_64.rpm                                               | 7.2 MB  00:02:18     
(65/65): python3-libs-3.6.8-13.el7.x86_64.rpm                                               | 7.0 MB  00:04:44     
-------------------------------------------------------------------------------------------------------------------
总计                                                                               289 kB/s | 159 MB  00:09:21     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
警告:RPM 数据库已被非 yum 程序修改。
  正在安装    : devtoolset-9-runtime-9.1-0.el7.x86_64                                                        1/182 
  正在更新    : glibc-2.17-307.el7.1.x86_64                                                                  2/182 
  正在更新    : glibc-common-2.17-307.el7.1.x86_64                                                           3/182 
  正在更新    : boost-system-1.53.0-28.el7.x86_64                                                            4/182 
  正在更新    : boost-serialization-1.53.0-28.el7.x86_64                                                     5/182 
  正在更新    : libuuid-2.23.2-63.el7.x86_64                                                                 6/182 
  正在更新    : boost-openmpi-1.53.0-28.el7.x86_64                                                           7/182 
  正在更新    : boost-chrono-1.53.0-28.el7.x86_64                                                            8/182 
  正在更新    : boost-regex-1.53.0-28.el7.x86_64                                                             9/182 
  正在更新    : libblkid-2.23.2-63.el7.x86_64                                                               10/182 
  正在更新    : boost-python-1.53.0-28.el7.x86_64                                                           11/182 
  正在更新    : rpm-4.11.3-43.el7.x86_64                                                                    12/182 
  正在更新    : rpm-libs-4.11.3-43.el7.x86_64                                                               13/182 
  正在更新    : rpm-build-libs-4.11.3-43.el7.x86_64                                                         14/182 
  正在更新    : boost-mpich-1.53.0-28.el7.x86_64                                                            15/182 
  正在更新    : boost-mpich-python-1.53.0-28.el7.x86_64                                                     16/182 
  正在更新    : boost-thread-1.53.0-28.el7.x86_64                                                           17/182 
  正在更新    : boost-filesystem-1.53.0-28.el7.x86_64                                                       18/182 
  正在安装    : devtoolset-9-elfutils-libelf-0.176-6.el7.x86_64                                             19/182 
  正在更新    : boost-date-time-1.53.0-28.el7.x86_64                                                        20/182 
  正在更新    : libffi-3.0.13-19.el7.x86_64                                                                 21/182 
  正在更新    : python3-pip-9.0.3-7.el7_7.noarch                                                            22/182 
  正在更新    : python3-libs-3.6.8-13.el7.x86_64                                                            23/182 
  正在更新    : python3-3.6.8-13.el7.x86_64                                                                 24/182 
  正在更新    : python3-tkinter-3.6.8-13.el7.x86_64                                                         25/182 
  正在更新    : boost-wave-1.53.0-28.el7.x86_64                                                             26/182 
  正在安装    : devtoolset-9-elfutils-libs-0.176-6.el7.x86_64                                               27/182 
  正在安装    : devtoolset-9-elfutils-0.176-6.el7.x86_64                                                    28/182 
  正在安装    : devtoolset-9-dyninst-10.1.0-4.el7.x86_64                                                    29/182 
  正在更新    : boost-locale-1.53.0-28.el7.x86_64                                                           30/182 
  正在更新    : boost-graph-mpich-1.53.0-28.el7.x86_64                                                      31/182 
  正在安装    : devtoolset-9-systemtap-devel-4.1-9.el7.x86_64                                               32/182 
  正在更新    : boost-graph-1.53.0-28.el7.x86_64                                                            33/182 
  正在更新    : boost-timer-1.53.0-28.el7.x86_64                                                            34/182 
  正在更新    : boost-program-options-1.53.0-28.el7.x86_64                                                  35/182 
  正在更新    : glibc-headers-2.17-307.el7.1.x86_64                                                         36/182 
  正在更新    : boost-iostreams-1.53.0-28.el7.x86_64                                                        37/182 
  正在更新    : boost-signals-1.53.0-28.el7.x86_64                                                          38/182 
  正在更新    : boost-context-1.53.0-28.el7.x86_64                                                          39/182 
  正在更新    : boost-math-1.53.0-28.el7.x86_64                                                             40/182 
  正在更新    : boost-random-1.53.0-28.el7.x86_64                                                           41/182 
  正在更新    : boost-atomic-1.53.0-28.el7.x86_64                                                           42/182 
  正在更新    : boost-test-1.53.0-28.el7.x86_64                                                             43/182 
  正在安装    : devtoolset-9-binutils-2.32-16.el7.x86_64                                                    44/182 
  正在更新    : selinux-policy-3.13.1-266.el7_8.1.noarch                                                    45/182 
  正在更新    : boost-1.53.0-28.el7.x86_64                                                                  46/182 
  正在更新    : boost-devel-1.53.0-28.el7.x86_64                                                            47/182 
  正在安装    : devtoolset-9-systemtap-runtime-4.1-9.el7.x86_64                                             48/182 
  正在安装    : devtoolset-9-systemtap-client-4.1-9.el7.x86_64                                              49/182 
  正在安装    : devtoolset-9-systemtap-4.1-9.el7.x86_64                                                     50/182 
  正在更新    : python3-idle-3.6.8-13.el7.x86_64                                                            51/182 
  正在更新    : python3-devel-3.6.8-13.el7.x86_64                                                           52/182 
  正在更新    : python3-test-3.6.8-13.el7.x86_64                                                            53/182 
  正在更新    : boost-openmpi-python-1.53.0-28.el7.x86_64                                                   54/182 
  正在更新    : libmount-2.23.2-63.el7.x86_64                                                               55/182 
  正在安装    : source-highlight-3.1.6-6.el7.x86_64                                                         56/182 
  正在安装    : devtoolset-9-gdb-8.3-3.el7.x86_64                                                           57/182 
  正在更新    : boost-graph-openmpi-1.53.0-28.el7.x86_64                                                    58/182 
  正在更新    : apr-1.4.8-5.el7.x86_64                                                                      59/182 
  正在更新    : libuuid-devel-2.23.2-63.el7.x86_64                                                          60/182 
  正在更新    : libsmartcols-2.23.2-63.el7.x86_64                                                           61/182 
  正在更新    : util-linux-2.23.2-63.el7.x86_64                                                             62/182 
  正在安装    : devtoolset-9-memstomp-0.1.5-5.el7.x86_64                                                    63/182 
  正在安装    : devtoolset-9-dwz-0.12-1.1.el7.x86_64                                                        64/182 
  正在安装    : 1:devtoolset-9-valgrind-3.15.0-9.el7.x86_64                                                 65/182 
  正在安装    : 1:devtoolset-9-make-4.2.1-2.el7.x86_64                                                      66/182 
  正在安装    : devtoolset-9-ltrace-0.7.91-2.el7.x86_64                                                     67/182 
  正在安装    : devtoolset-9-oprofile-1.3.0-4.el7.x86_64                                                    68/182 
  正在安装    : devtoolset-9-perftools-9.1-0.el7.x86_64                                                     69/182 
  正在安装    : devtoolset-9-strace-5.1-7.el7.x86_64                                                        70/182 
  正在更新    : numactl-libs-2.0.12-5.el7.x86_64                                                            71/182 
  正在安装    : devtoolset-9-libstdc++-devel-9.3.1-2.el7.x86_64                                             72/182 
  正在更新    : numactl-devel-2.0.12-5.el7.x86_64                                                           73/182 
  正在更新    : libblkid-devel-2.23.2-63.el7.x86_64                                                         74/182 
  正在更新    : apr-devel-1.4.8-5.el7.x86_64                                                                75/182 
  正在更新    : boost-openmpi-devel-1.53.0-28.el7.x86_64                                                    76/182 
  正在更新    : python3-debug-3.6.8-13.el7.x86_64                                                           77/182 
  正在更新    : boost-static-1.53.0-28.el7.x86_64                                                           78/182 
  正在更新    : boost-examples-1.53.0-28.el7.noarch                                                         79/182 
  正在更新    : boost-mpich-devel-1.53.0-28.el7.x86_64                                                      80/182 
  正在更新    : selinux-policy-devel-3.13.1-266.el7_8.1.noarch                                              81/182 
  正在更新    : selinux-policy-targeted-3.13.1-266.el7_8.1.noarch                                           82/182 
  正在更新    : glibc-devel-2.17-307.el7.1.x86_64                                                           83/182 
  正在更新    : libffi-devel-3.0.13-19.el7.x86_64                                                           84/182 
  正在更新    : rpm-sign-4.11.3-43.el7.x86_64                                                               85/182 
  正在更新    : rpm-python-4.11.3-43.el7.x86_64                                                             86/182 
  正在更新    : rpm-build-4.11.3-43.el7.x86_64                                                              87/182 
  正在更新    : rpm-devel-4.11.3-43.el7.x86_64                                                              88/182 
  正在安装    : chrpath-0.16-0.el7.x86_64                                                                   89/182 
  正在更新    : glibc-utils-2.17-307.el7.1.x86_64                                                           90/182 
  正在更新    : yum-utils-1.1.31-54.el7_8.noarch                                                            91/182 
  正在更新    : python-virtualenv-15.1.0-4.el7_7.noarch                                                     92/182 
  正在更新    : glibc-2.17-307.el7.1.i686                                                                   93/182 
  正在更新    : glibc-devel-2.17-307.el7.1.i686                                                             94/182 
  正在更新    : libuuid-2.23.2-63.el7.i686                                                                  95/182 
  正在更新    : glibc-static-2.17-307.el7.1.x86_64                                                          96/182 
  正在更新    : libblkid-2.23.2-63.el7.i686                                                                 97/182 
  正在更新    : libmount-2.23.2-63.el7.i686                                                                 98/182 
  正在更新    : libffi-3.0.13-19.el7.i686                                                                   99/182 
  正在安装    : devtoolset-9-gcc-9.3.1-2.el7.x86_64                                                        100/182 
  正在安装    : devtoolset-9-gcc-c++-9.3.1-2.el7.x86_64                                                    101/182 
  正在安装    : devtoolset-9-libquadmath-devel-9.3.1-2.el7.x86_64                                          102/182 
  正在安装    : devtoolset-9-gcc-gfortran-9.3.1-2.el7.x86_64                                               103/182 
  正在安装    : devtoolset-9-toolchain-9.1-0.el7.x86_64                                                    104/182 
  正在安装    : devtoolset-9-9.1-0.el7.x86_64                                                              105/182 
  清理        : libmount-2.23.2-59.el7_6.1                                                                 106/182 
  清理        : boost-openmpi-devel-1.53.0-27.el7.x86_64                                                   107/182 
  清理        : boost-mpich-devel-1.53.0-27.el7.x86_64                                                     108/182 
  清理        : libblkid-2.23.2-59.el7_6.1                                                                 109/182 
  清理        : glibc-devel-2.17-292.el7                                                                   110/182 
  清理        : libuuid-2.23.2-59.el7_6.1                                                                  111/182 
  清理        : libblkid-devel-2.23.2-59.el7_6.1.x86_64                                                    112/182 
  清理        : libffi-3.0.13-18.el7                                                                       113/182 
  清理        : glibc-2.17-292.el7                                                                         114/182 
  清理        : libuuid-devel-2.23.2-59.el7_6.1.x86_64                                                     115/182 
  清理        : glibc-static-2.17-292.el7.x86_64                                                           116/182 
  清理        : glibc-devel-2.17-292.el7                                                                   117/182 
  清理        : glibc-headers-2.17-292.el7.x86_64                                                          118/182 
  清理        : selinux-policy-targeted-3.13.1-252.el7.noarch                                              119/182 
  清理        : selinux-policy-devel-3.13.1-252.el7.noarch                                                 120/182 
  清理        : apr-devel-1.4.8-3.el7.x86_64                                                               121/182 
  清理        : numactl-devel-2.0.12-3.el7.x86_64                                                          122/182 
  清理        : boost-examples-1.53.0-27.el7.noarch                                                        123/182 
  清理        : libffi-devel-3.0.13-18.el7.x86_64                                                          124/182 
  清理        : boost-static-1.53.0-27.el7.x86_64                                                          125/182 
  清理        : boost-devel-1.53.0-27.el7.x86_64                                                           126/182 
  清理        : boost-1.53.0-27.el7.x86_64                                                                 127/182 
  清理        : boost-wave-1.53.0-27.el7.x86_64                                                            128/182 
  清理        : python3-debug-3.6.8-10.el7.x86_64                                                          129/182 
  清理        : rpm-devel-4.11.3-40.el7.x86_64                                                             130/182 
  清理        : util-linux-2.23.2-59.el7_6.1.x86_64                                                        131/182 
  清理        : boost-locale-1.53.0-27.el7.x86_64                                                          132/182 
  清理        : boost-openmpi-python-1.53.0-27.el7.x86_64                                                  133/182 
  清理        : boost-mpich-python-1.53.0-27.el7.x86_64                                                    134/182 
  清理        : rpm-python-4.11.3-40.el7.x86_64                                                            135/182 
  清理        : boost-timer-1.53.0-27.el7.x86_64                                                           136/182 
  清理        : rpm-build-4.11.3-40.el7.x86_64                                                             137/182 
  清理        : libmount-2.23.2-59.el7_6.1                                                                 138/182 
  清理        : python3-test-3.6.8-10.el7.x86_64                                                           139/182 
  清理        : boost-graph-mpich-1.53.0-27.el7.x86_64                                                     140/182 
  清理        : boost-graph-openmpi-1.53.0-27.el7.x86_64                                                   141/182 
  清理        : rpm-sign-4.11.3-40.el7.x86_64                                                              142/182 
  清理        : python3-devel-3.6.8-10.el7.x86_64                                                          143/182 
  清理        : python3-idle-3.6.8-10.el7.x86_64                                                           144/182 
  清理        : selinux-policy-3.13.1-252.el7.noarch                                                       145/182 
  清理        : yum-utils-1.1.31-52.el7.noarch                                                             146/182 
  清理        : python-virtualenv-15.1.0-2.el7.noarch                                                      147/182 
  清理        : python3-tkinter-3.6.8-10.el7.x86_64                                                        148/182 
  清理        : python3-libs-3.6.8-10.el7.x86_64                                                           149/182 
  清理        : python3-pip-9.0.3-5.el7.noarch                                                             150/182 
  清理        : python3-3.6.8-10.el7.x86_64                                                                151/182 
  清理        : rpm-build-libs-4.11.3-40.el7.x86_64                                                        152/182 
  清理        : rpm-4.11.3-40.el7.x86_64                                                                   153/182 
  清理        : rpm-libs-4.11.3-40.el7.x86_64                                                              154/182 
  清理        : libblkid-2.23.2-59.el7_6.1                                                                 155/182 
  清理        : boost-chrono-1.53.0-27.el7.x86_64                                                          156/182 
  清理        : boost-thread-1.53.0-27.el7.x86_64                                                          157/182 
  清理        : boost-filesystem-1.53.0-27.el7.x86_64                                                      158/182 
  清理        : boost-graph-1.53.0-27.el7.x86_64                                                           159/182 
  清理        : apr-1.4.8-3.el7.x86_64                                                                     160/182 
  清理        : boost-openmpi-1.53.0-27.el7.x86_64                                                         161/182 
  清理        : boost-mpich-1.53.0-27.el7.x86_64                                                           162/182 
  清理        : boost-serialization-1.53.0-27.el7.x86_64                                                   163/182 
  清理        : libuuid-2.23.2-59.el7_6.1                                                                  164/182 
  清理        : boost-regex-1.53.0-27.el7.x86_64                                                           165/182 
  清理        : boost-system-1.53.0-27.el7.x86_64                                                          166/182 
  清理        : libffi-3.0.13-18.el7                                                                       167/182 
  清理        : boost-python-1.53.0-27.el7.x86_64                                                          168/182 
  清理        : libsmartcols-2.23.2-59.el7_6.1.x86_64                                                      169/182 
  清理        : boost-date-time-1.53.0-27.el7.x86_64                                                       170/182 
  清理        : boost-atomic-1.53.0-27.el7.x86_64                                                          171/182 
  清理        : boost-context-1.53.0-27.el7.x86_64                                                         172/182 
  清理        : boost-iostreams-1.53.0-27.el7.x86_64                                                       173/182 
  清理        : boost-math-1.53.0-27.el7.x86_64                                                            174/182 
  清理        : boost-program-options-1.53.0-27.el7.x86_64                                                 175/182 
  清理        : boost-random-1.53.0-27.el7.x86_64                                                          176/182 
  清理        : boost-signals-1.53.0-27.el7.x86_64                                                         177/182 
  清理        : boost-test-1.53.0-27.el7.x86_64                                                            178/182 
  清理        : numactl-libs-2.0.12-3.el7.x86_64                                                           179/182 
  清理        : glibc-utils-2.17-292.el7.x86_64                                                            180/182 
  清理        : glibc-common-2.17-292.el7.x86_64                                                           181/182 
  清理        : glibc-2.17-292.el7                                                                         182/182 
  验证中      : boost-static-1.53.0-28.el7.x86_64                                                            1/182 
  验证中      : python3-tkinter-3.6.8-13.el7.x86_64                                                          2/182 
  验证中      : boost-program-options-1.53.0-28.el7.x86_64                                                   3/182 
  验证中      : boost-graph-mpich-1.53.0-28.el7.x86_64                                                       4/182 
  验证中      : libffi-devel-3.0.13-19.el7.x86_64                                                            5/182 
  验证中      : devtoolset-9-memstomp-0.1.5-5.el7.x86_64                                                     6/182 
  验证中      : devtoolset-9-dyninst-10.1.0-4.el7.x86_64                                                     7/182 
  验证中      : devtoolset-9-libstdc++-devel-9.3.1-2.el7.x86_64                                              8/182 
  验证中      : libblkid-2.23.2-63.el7.i686                                                                  9/182 
  验证中      : devtoolset-9-gcc-c++-9.3.1-2.el7.x86_64                                                     10/182 
  验证中      : boost-serialization-1.53.0-28.el7.x86_64                                                    11/182 
  验证中      : boost-examples-1.53.0-28.el7.noarch                                                         12/182 
  验证中      : util-linux-2.23.2-63.el7.x86_64                                                             13/182 
  验证中      : boost-wave-1.53.0-28.el7.x86_64                                                             14/182 
  验证中      : boost-mpich-python-1.53.0-28.el7.x86_64                                                     15/182 
  验证中      : boost-regex-1.53.0-28.el7.x86_64                                                            16/182 
  验证中      : boost-mpich-devel-1.53.0-28.el7.x86_64                                                      17/182 
  验证中      : python3-devel-3.6.8-13.el7.x86_64                                                           18/182 
  验证中      : source-highlight-3.1.6-6.el7.x86_64                                                         19/182 
  验证中      : numactl-devel-2.0.12-5.el7.x86_64                                                           20/182 
  验证中      : glibc-headers-2.17-307.el7.1.x86_64                                                         21/182 
  验证中      : apr-1.4.8-5.el7.x86_64                                                                      22/182 
  验证中      : devtoolset-9-systemtap-runtime-4.1-9.el7.x86_64                                             23/182 
  验证中      : libsmartcols-2.23.2-63.el7.x86_64                                                           24/182 
  验证中      : devtoolset-9-runtime-9.1-0.el7.x86_64                                                       25/182 
  验证中      : python3-3.6.8-13.el7.x86_64                                                                 26/182 
  验证中      : boost-graph-1.53.0-28.el7.x86_64                                                            27/182 
  验证中      : boost-iostreams-1.53.0-28.el7.x86_64                                                        28/182 
  验证中      : devtoolset-9-gcc-9.3.1-2.el7.x86_64                                                         29/182 
  验证中      : boost-locale-1.53.0-28.el7.x86_64                                                           30/182 
  验证中      : python3-pip-9.0.3-7.el7_7.noarch                                                            31/182 
  验证中      : devtoolset-9-elfutils-libelf-0.176-6.el7.x86_64                                             32/182 
  验证中      : apr-devel-1.4.8-5.el7.x86_64                                                                33/182 
  验证中      : boost-devel-1.53.0-28.el7.x86_64                                                            34/182 
  验证中      : devtoolset-9-dwz-0.12-1.1.el7.x86_64                                                        35/182 
  验证中      : devtoolset-9-systemtap-4.1-9.el7.x86_64                                                     36/182 
  验证中      : libblkid-2.23.2-63.el7.x86_64                                                               37/182 
  验证中      : selinux-policy-3.13.1-266.el7_8.1.noarch                                                    38/182 
  验证中      : selinux-policy-devel-3.13.1-266.el7_8.1.noarch                                              39/182 
  验证中      : selinux-policy-targeted-3.13.1-266.el7_8.1.noarch                                           40/182 
  验证中      : boost-openmpi-devel-1.53.0-28.el7.x86_64                                                    41/182 
  验证中      : boost-date-time-1.53.0-28.el7.x86_64                                                        42/182 
  验证中      : python3-libs-3.6.8-13.el7.x86_64                                                            43/182 
  验证中      : boost-system-1.53.0-28.el7.x86_64                                                           44/182 
  验证中      : python3-debug-3.6.8-13.el7.x86_64                                                           45/182 
  验证中      : 1:devtoolset-9-valgrind-3.15.0-9.el7.x86_64                                                 46/182 
  验证中      : 1:devtoolset-9-make-4.2.1-2.el7.x86_64                                                      47/182 
  验证中      : boost-chrono-1.53.0-28.el7.x86_64                                                           48/182 
  验证中      : devtoolset-9-ltrace-0.7.91-2.el7.x86_64                                                     49/182 
  验证中      : glibc-static-2.17-307.el7.1.x86_64                                                          50/182 
  验证中      : libffi-3.0.13-19.el7.i686                                                                   51/182 
  验证中      : glibc-2.17-307.el7.1.i686                                                                   52/182 
  验证中      : devtoolset-9-elfutils-0.176-6.el7.x86_64                                                    53/182 
  验证中      : boost-openmpi-1.53.0-28.el7.x86_64                                                          54/182 
  验证中      : boost-signals-1.53.0-28.el7.x86_64                                                          55/182 
  验证中      : boost-context-1.53.0-28.el7.x86_64                                                          56/182 
  验证中      : boost-thread-1.53.0-28.el7.x86_64                                                           57/182 
  验证中      : devtoolset-9-gcc-gfortran-9.3.1-2.el7.x86_64                                                58/182 
  验证中      : devtoolset-9-oprofile-1.3.0-4.el7.x86_64                                                    59/182 
  验证中      : boost-timer-1.53.0-28.el7.x86_64                                                            60/182 
  验证中      : rpm-sign-4.11.3-43.el7.x86_64                                                               61/182 
  验证中      : devtoolset-9-toolchain-9.1-0.el7.x86_64                                                     62/182 
  验证中      : boost-graph-openmpi-1.53.0-28.el7.x86_64                                                    63/182 
  验证中      : devtoolset-9-systemtap-devel-4.1-9.el7.x86_64                                               64/182 
  验证中      : glibc-common-2.17-307.el7.1.x86_64                                                          65/182 
  验证中      : boost-python-1.53.0-28.el7.x86_64                                                           66/182 
  验证中      : glibc-2.17-307.el7.1.x86_64                                                                 67/182 
  验证中      : devtoolset-9-perftools-9.1-0.el7.x86_64                                                     68/182 
  验证中      : rpm-4.11.3-43.el7.x86_64                                                                    69/182 
  验证中      : python3-test-3.6.8-13.el7.x86_64                                                            70/182 
  验证中      : boost-math-1.53.0-28.el7.x86_64                                                             71/182 
  验证中      : chrpath-0.16-0.el7.x86_64                                                                   72/182 
  验证中      : boost-1.53.0-28.el7.x86_64                                                                  73/182 
  验证中      : libuuid-devel-2.23.2-63.el7.x86_64                                                          74/182 
  验证中      : python3-idle-3.6.8-13.el7.x86_64                                                            75/182 
  验证中      : devtoolset-9-libquadmath-devel-9.3.1-2.el7.x86_64                                           76/182 
  验证中      : libblkid-devel-2.23.2-63.el7.x86_64                                                         77/182 
  验证中      : rpm-libs-4.11.3-43.el7.x86_64                                                               78/182 
  验证中      : rpm-python-4.11.3-43.el7.x86_64                                                             79/182 
  验证中      : devtoolset-9-systemtap-client-4.1-9.el7.x86_64                                              80/182 
  验证中      : rpm-build-4.11.3-43.el7.x86_64                                                              81/182 
  验证中      : devtoolset-9-strace-5.1-7.el7.x86_64                                                        82/182 
  验证中      : boost-random-1.53.0-28.el7.x86_64                                                           83/182 
  验证中      : boost-mpich-1.53.0-28.el7.x86_64                                                            84/182 
  验证中      : python-virtualenv-15.1.0-4.el7_7.noarch                                                     85/182 
  验证中      : boost-openmpi-python-1.53.0-28.el7.x86_64                                                   86/182 
  验证中      : glibc-devel-2.17-307.el7.1.i686                                                             87/182 
  验证中      : rpm-build-libs-4.11.3-43.el7.x86_64                                                         88/182 
  验证中      : devtoolset-9-9.1-0.el7.x86_64                                                               89/182 
  验证中      : boost-atomic-1.53.0-28.el7.x86_64                                                           90/182 
  验证中      : devtoolset-9-gdb-8.3-3.el7.x86_64                                                           91/182 
  验证中      : yum-utils-1.1.31-54.el7_8.noarch                                                            92/182 
  验证中      : libmount-2.23.2-63.el7.x86_64                                                               93/182 
  验证中      : boost-test-1.53.0-28.el7.x86_64                                                             94/182 
  验证中      : devtoolset-9-elfutils-libs-0.176-6.el7.x86_64                                               95/182 
  验证中      : devtoolset-9-binutils-2.32-16.el7.x86_64                                                    96/182 
  验证中      : libmount-2.23.2-63.el7.i686                                                                 97/182 
  验证中      : libuuid-2.23.2-63.el7.i686                                                                  98/182 
  验证中      : rpm-devel-4.11.3-43.el7.x86_64                                                              99/182 
  验证中      : libuuid-2.23.2-63.el7.x86_64                                                               100/182 
  验证中      : numactl-libs-2.0.12-5.el7.x86_64                                                           101/182 
  验证中      : glibc-devel-2.17-307.el7.1.x86_64                                                          102/182 
  验证中      : glibc-utils-2.17-307.el7.1.x86_64                                                          103/182 
  验证中      : libffi-3.0.13-19.el7.x86_64                                                                104/182 
  验证中      : boost-filesystem-1.53.0-28.el7.x86_64                                                      105/182 
  验证中      : libblkid-2.23.2-59.el7_6.1.x86_64                                                          106/182 
  验证中      : selinux-policy-targeted-3.13.1-252.el7.noarch                                              107/182 
  验证中      : boost-thread-1.53.0-27.el7.x86_64                                                          108/182 
  验证中      : glibc-common-2.17-292.el7.x86_64                                                           109/182 
  验证中      : boost-context-1.53.0-27.el7.x86_64                                                         110/182 
  验证中      : boost-static-1.53.0-27.el7.x86_64                                                          111/182 
  验证中      : boost-date-time-1.53.0-27.el7.x86_64                                                       112/182 
  验证中      : rpm-build-4.11.3-40.el7.x86_64                                                             113/182 
  验证中      : rpm-libs-4.11.3-40.el7.x86_64                                                              114/182 
  验证中      : python3-libs-3.6.8-10.el7.x86_64                                                           115/182 
  验证中      : selinux-policy-devel-3.13.1-252.el7.noarch                                                 116/182 
  验证中      : python3-3.6.8-10.el7.x86_64                                                                117/182 
  验证中      : boost-chrono-1.53.0-27.el7.x86_64                                                          118/182 
  验证中      : boost-timer-1.53.0-27.el7.x86_64                                                           119/182 
  验证中      : python3-debug-3.6.8-10.el7.x86_64                                                          120/182 
  验证中      : libffi-3.0.13-18.el7.x86_64                                                                121/182 
  验证中      : boost-locale-1.53.0-27.el7.x86_64                                                          122/182 
  验证中      : glibc-static-2.17-292.el7.x86_64                                                           123/182 
  验证中      : boost-system-1.53.0-27.el7.x86_64                                                          124/182 
  验证中      : boost-openmpi-devel-1.53.0-27.el7.x86_64                                                   125/182 
  验证中      : python3-pip-9.0.3-5.el7.noarch                                                             126/182 
  验证中      : python3-idle-3.6.8-10.el7.x86_64                                                           127/182 
  验证中      : boost-devel-1.53.0-27.el7.x86_64                                                           128/182 
  验证中      : boost-iostreams-1.53.0-27.el7.x86_64                                                       129/182 
  验证中      : boost-graph-1.53.0-27.el7.x86_64                                                           130/182 
  验证中      : boost-examples-1.53.0-27.el7.noarch                                                        131/182 
  验证中      : libffi-3.0.13-18.el7.i686                                                                  132/182 
  验证中      : glibc-devel-2.17-292.el7.x86_64                                                            133/182 
  验证中      : libblkid-devel-2.23.2-59.el7_6.1.x86_64                                                    134/182 
  验证中      : glibc-utils-2.17-292.el7.x86_64                                                            135/182 
  验证中      : yum-utils-1.1.31-52.el7.noarch                                                             136/182 
  验证中      : boost-graph-mpich-1.53.0-27.el7.x86_64                                                     137/182 
  验证中      : numactl-libs-2.0.12-3.el7.x86_64                                                           138/182 
  验证中      : python3-devel-3.6.8-10.el7.x86_64                                                          139/182 
  验证中      : boost-atomic-1.53.0-27.el7.x86_64                                                          140/182 
  验证中      : boost-mpich-devel-1.53.0-27.el7.x86_64                                                     141/182 
  验证中      : glibc-headers-2.17-292.el7.x86_64                                                          142/182 
  验证中      : rpm-build-libs-4.11.3-40.el7.x86_64                                                        143/182 
  验证中      : boost-mpich-python-1.53.0-27.el7.x86_64                                                    144/182 
  验证中      : boost-regex-1.53.0-27.el7.x86_64                                                           145/182 
  验证中      : apr-devel-1.4.8-3.el7.x86_64                                                               146/182 
  验证中      : boost-serialization-1.53.0-27.el7.x86_64                                                   147/182 
  验证中      : boost-program-options-1.53.0-27.el7.x86_64                                                 148/182 
  验证中      : python3-tkinter-3.6.8-10.el7.x86_64                                                        149/182 
  验证中      : boost-wave-1.53.0-27.el7.x86_64                                                            150/182 
  验证中      : python-virtualenv-15.1.0-2.el7.noarch                                                      151/182 
  验证中      : boost-openmpi-python-1.53.0-27.el7.x86_64                                                  152/182 
  验证中      : libsmartcols-2.23.2-59.el7_6.1.x86_64                                                      153/182 
  验证中      : rpm-devel-4.11.3-40.el7.x86_64                                                             154/182 
  验证中      : boost-openmpi-1.53.0-27.el7.x86_64                                                         155/182 
  验证中      : libuuid-2.23.2-59.el7_6.1.x86_64                                                           156/182 
  验证中      : libuuid-2.23.2-59.el7_6.1.i686                                                             157/182 
  验证中      : boost-filesystem-1.53.0-27.el7.x86_64                                                      158/182 
  验证中      : rpm-4.11.3-40.el7.x86_64                                                                   159/182 
  验证中      : python3-test-3.6.8-10.el7.x86_64                                                           160/182 
  验证中      : selinux-policy-3.13.1-252.el7.noarch                                                       161/182 
  验证中      : rpm-sign-4.11.3-40.el7.x86_64                                                              162/182 
  验证中      : glibc-devel-2.17-292.el7.i686                                                              163/182 
  验证中      : boost-signals-1.53.0-27.el7.x86_64                                                         164/182 
  验证中      : util-linux-2.23.2-59.el7_6.1.x86_64                                                        165/182 
  验证中      : libmount-2.23.2-59.el7_6.1.x86_64                                                          166/182 
  验证中      : libffi-devel-3.0.13-18.el7.x86_64                                                          167/182 
  验证中      : apr-1.4.8-3.el7.x86_64                                                                     168/182 
  验证中      : glibc-2.17-292.el7.i686                                                                    169/182 
  验证中      : libblkid-2.23.2-59.el7_6.1.i686                                                            170/182 
  验证中      : boost-test-1.53.0-27.el7.x86_64                                                            171/182 
  验证中      : boost-random-1.53.0-27.el7.x86_64                                                          172/182 
  验证中      : rpm-python-4.11.3-40.el7.x86_64                                                            173/182 
  验证中      : libuuid-devel-2.23.2-59.el7_6.1.x86_64                                                     174/182 
  验证中      : boost-1.53.0-27.el7.x86_64                                                                 175/182 
  验证中      : boost-graph-openmpi-1.53.0-27.el7.x86_64                                                   176/182 
  验证中      : glibc-2.17-292.el7.x86_64                                                                  177/182 
  验证中      : boost-mpich-1.53.0-27.el7.x86_64                                                           178/182 
  验证中      : libmount-2.23.2-59.el7_6.1.i686                                                            179/182 
  验证中      : numactl-devel-2.0.12-3.el7.x86_64                                                          180/182 
  验证中      : boost-math-1.53.0-27.el7.x86_64                                                            181/182 
  验证中      : boost-python-1.53.0-27.el7.x86_64                                                          182/182 

已安装:
  chrpath.x86_64 0:0.16-0.el7                            devtoolset-9.x86_64 0:9.1-0.el7                           

作为依赖被安装:
  devtoolset-9-binutils.x86_64 0:2.32-16.el7                devtoolset-9-dwz.x86_64 0:0.12-1.1.el7                 
  devtoolset-9-dyninst.x86_64 0:10.1.0-4.el7                devtoolset-9-elfutils.x86_64 0:0.176-6.el7             
  devtoolset-9-elfutils-libelf.x86_64 0:0.176-6.el7         devtoolset-9-elfutils-libs.x86_64 0:0.176-6.el7        
  devtoolset-9-gcc.x86_64 0:9.3.1-2.el7                     devtoolset-9-gcc-c++.x86_64 0:9.3.1-2.el7              
  devtoolset-9-gcc-gfortran.x86_64 0:9.3.1-2.el7            devtoolset-9-gdb.x86_64 0:8.3-3.el7                    
  devtoolset-9-libquadmath-devel.x86_64 0:9.3.1-2.el7       devtoolset-9-libstdc++-devel.x86_64 0:9.3.1-2.el7      
  devtoolset-9-ltrace.x86_64 0:0.7.91-2.el7                 devtoolset-9-make.x86_64 1:4.2.1-2.el7                 
  devtoolset-9-memstomp.x86_64 0:0.1.5-5.el7                devtoolset-9-oprofile.x86_64 0:1.3.0-4.el7             
  devtoolset-9-perftools.x86_64 0:9.1-0.el7                 devtoolset-9-runtime.x86_64 0:9.1-0.el7                
  devtoolset-9-strace.x86_64 0:5.1-7.el7                    devtoolset-9-systemtap.x86_64 0:4.1-9.el7              
  devtoolset-9-systemtap-client.x86_64 0:4.1-9.el7          devtoolset-9-systemtap-devel.x86_64 0:4.1-9.el7        
  devtoolset-9-systemtap-runtime.x86_64 0:4.1-9.el7         devtoolset-9-toolchain.x86_64 0:9.1-0.el7              
  devtoolset-9-valgrind.x86_64 1:3.15.0-9.el7               source-highlight.x86_64 0:3.1.6-6.el7                  

更新完毕:
  apr-devel.x86_64 0:1.4.8-5.el7                              boost.x86_64 0:1.53.0-28.el7                         
  boost-devel.x86_64 0:1.53.0-28.el7                          glibc-static.x86_64 0:2.17-307.el7.1                 
  libffi-devel.x86_64 0:3.0.13-19.el7                         libuuid-devel.x86_64 0:2.23.2-63.el7                 
  numactl-devel.x86_64 0:2.0.12-5.el7                         python-virtualenv.noarch 0:15.1.0-4.el7_7            
  python3-devel.x86_64 0:3.6.8-13.el7                         python3-pip.noarch 0:9.0.3-7.el7_7                   
  rpm-build.x86_64 0:4.11.3-43.el7                            selinux-policy.noarch 0:3.13.1-266.el7_8.1           
  selinux-policy-devel.noarch 0:3.13.1-266.el7_8.1            yum-utils.noarch 0:1.1.31-54.el7_8                   

作为依赖被升级:
  apr.x86_64 0:1.4.8-5.el7                             boost-atomic.x86_64 0:1.53.0-28.el7                         
  boost-chrono.x86_64 0:1.53.0-28.el7                  boost-context.x86_64 0:1.53.0-28.el7                        
  boost-date-time.x86_64 0:1.53.0-28.el7               boost-examples.noarch 0:1.53.0-28.el7                       
  boost-filesystem.x86_64 0:1.53.0-28.el7              boost-graph.x86_64 0:1.53.0-28.el7                          
  boost-graph-mpich.x86_64 0:1.53.0-28.el7             boost-graph-openmpi.x86_64 0:1.53.0-28.el7                  
  boost-iostreams.x86_64 0:1.53.0-28.el7               boost-locale.x86_64 0:1.53.0-28.el7                         
  boost-math.x86_64 0:1.53.0-28.el7                    boost-mpich.x86_64 0:1.53.0-28.el7                          
  boost-mpich-devel.x86_64 0:1.53.0-28.el7             boost-mpich-python.x86_64 0:1.53.0-28.el7                   
  boost-openmpi.x86_64 0:1.53.0-28.el7                 boost-openmpi-devel.x86_64 0:1.53.0-28.el7                  
  boost-openmpi-python.x86_64 0:1.53.0-28.el7          boost-program-options.x86_64 0:1.53.0-28.el7                
  boost-python.x86_64 0:1.53.0-28.el7                  boost-random.x86_64 0:1.53.0-28.el7                         
  boost-regex.x86_64 0:1.53.0-28.el7                   boost-serialization.x86_64 0:1.53.0-28.el7                  
  boost-signals.x86_64 0:1.53.0-28.el7                 boost-static.x86_64 0:1.53.0-28.el7                         
  boost-system.x86_64 0:1.53.0-28.el7                  boost-test.x86_64 0:1.53.0-28.el7                           
  boost-thread.x86_64 0:1.53.0-28.el7                  boost-timer.x86_64 0:1.53.0-28.el7                          
  boost-wave.x86_64 0:1.53.0-28.el7                    glibc.i686 0:2.17-307.el7.1                                 
  glibc.x86_64 0:2.17-307.el7.1                        glibc-common.x86_64 0:2.17-307.el7.1                        
  glibc-devel.i686 0:2.17-307.el7.1                    glibc-devel.x86_64 0:2.17-307.el7.1                         
  glibc-headers.x86_64 0:2.17-307.el7.1                glibc-utils.x86_64 0:2.17-307.el7.1                         
  libblkid.i686 0:2.23.2-63.el7                        libblkid.x86_64 0:2.23.2-63.el7                             
  libblkid-devel.x86_64 0:2.23.2-63.el7                libffi.i686 0:3.0.13-19.el7                                 
  libffi.x86_64 0:3.0.13-19.el7                        libmount.i686 0:2.23.2-63.el7                               
  libmount.x86_64 0:2.23.2-63.el7                      libsmartcols.x86_64 0:2.23.2-63.el7                         
  libuuid.i686 0:2.23.2-63.el7                         libuuid.x86_64 0:2.23.2-63.el7                              
  numactl-libs.x86_64 0:2.0.12-5.el7                   python3.x86_64 0:3.6.8-13.el7                               
  python3-debug.x86_64 0:3.6.8-13.el7                  python3-idle.x86_64 0:3.6.8-13.el7                          
  python3-libs.x86_64 0:3.6.8-13.el7                   python3-test.x86_64 0:3.6.8-13.el7                          
  python3-tkinter.x86_64 0:3.6.8-13.el7                rpm.x86_64 0:4.11.3-43.el7                                  
  rpm-build-libs.x86_64 0:4.11.3-43.el7                rpm-devel.x86_64 0:4.11.3-43.el7                            
  rpm-libs.x86_64 0:4.11.3-43.el7                      rpm-python.x86_64 0:4.11.3-43.el7                           
  rpm-sign.x86_64 0:4.11.3-43.el7                      selinux-policy-targeted.noarch 0:3.13.1-266.el7_8.1         
  util-linux.x86_64 0:2.23.2-63.el7                   

完毕!
已加载插件:fastestmirror, langpacks


Error getting repository data for base-debuginfo, repository not found
make: *** [install-dep] 错误 1


4. 生成VPP(调试)

此构建版本包含调试符号,这些调试符号对于修改VPP非常有用。下面的 make命令可构建VPP的调试版本。生成调试映像时,二进制文件可以在/ build-root / vpp_debug-native中找到。

$ make build
make[1]: Entering directory '/home/vagrant/vpp-master/build-root'
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for dpdk @@@@
@@@@ Makefile fragment found in /home/vagrant/vpp-master/build-data/packages/dpdk.mk @@@@
@@@@ Source found in /home/vagrant/vpp-master/dpdk @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in /home/vagrant/vpp-master/build-data/packages/vpp.mk @@@@
@@@@ Source found in /home/vagrant/vpp-master/src @@@@
...
...
make[5]: Leaving directory '/home/vagrant/vpp-master/build-root/build-vpp_debug-native/vpp/vpp-api/java'
make[4]: Leaving directory '/home/vagrant/vpp-master/build-root/build-vpp_debug-native/vpp/vpp-api/java'
make[3]: Leaving directory '/home/vagrant/vpp-master/build-root/build-vpp_debug-native/vpp'
make[2]: Leaving directory '/home/vagrant/vpp-master/build-root/build-vpp_debug-native/vpp'
@@@@ Installing vpp: nothing to do @@@@
make[1]: Leaving directory '/home/vagrant/vpp-master/build-root'

我这里已经运行过这条命令,输出如下:

# 5. make build
make[1]: 进入目录“/opt/vpp-stable-2005/build-root”
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for external @@@@
@@@@ Makefile fragment found in /opt/vpp-stable-2005/build-data/packages/external.mk @@@@
@@@@ Source found in /opt/vpp-stable-2005/build @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in /opt/vpp-stable-2005/build-data/packages/vpp.mk @@@@
@@@@ Source found in /opt/vpp-stable-2005/src @@@@
@@@@ Configuring external: nothing to do @@@@
@@@@ Building external: nothing to do @@@@
@@@@ Installing external: nothing to do @@@@
@@@@ Configuring vpp: nothing to do @@@@
@@@@ Building vpp in /opt/vpp-stable-2005/build-root/build-vpp_debug-native/vpp @@@@
[0/1] Re-running CMake...
-- Looking for ccache
-- Looking for ccache - found
-- Looking for libuuid
-- Found uuid in /usr/include
-- Intel IPSecMB found: /opt/vpp/external/x86_64/include
-- dpdk plugin needs libdpdk.a library - found at /opt/vpp/external/x86_64/lib/libdpdk.a
-- Found DPDK 20.2.0 in /opt/vpp/external/x86_64/include/dpdk
-- dpdk plugin needs numa library - found at /usr/lib64/libnuma.so
-- dpdk plugin needs libIPSec_MB.a library - found at /opt/vpp/external/x86_64/lib/libIPSec_MB.a
-- Found quicly 0.1.0-vpp in /opt/vpp/external/x86_64/include
-- rdma plugin needs libibverbs.a library - found at /opt/vpp/external/x86_64/lib/libibverbs.a
-- rdma plugin needs librdma_util.a library - found at /opt/vpp/external/x86_64/lib/librdma_util.a
-- rdma plugin needs libmlx5.a library - found at /opt/vpp/external/x86_64/lib/libmlx5.a
-- tlsmbedtls plugin needs mbedtls library - found at /usr/lib64/libmbedtls.so
-- tlsmbedtls plugin needs mbedx509 library - found at /usr/lib64/libmbedx509.so
-- tlsmbedtls plugin needs mbedcrypto library - found at /usr/lib64/libmbedcrypto.so
-- Looking for picotls
-- Found picotls in /opt/vpp/external/x86_64/include and /opt/vpp/external/x86_64/lib/libpicotls-core.a
-- Configuration:
VPP version         : 20.05.1-5~gc53cb5c
VPP library version : 20.05.1
GIT toplevel dir    : /opt/vpp-stable-2005
Build type          : debug
C flags             : -Wno-address-of-packed-member -g -fPIC -Werror -Wall -march=corei7 -mtune=corei7-avx -O0 -DCLIB_DEBUG -fst
ack-protector -DFORTIFY_SOURCE=2 -fno-common Linker flags (apps) : 
Linker flags (libs) : 
Host processor      : x86_64
Target processor    : x86_64
Prefix path         : /opt/vpp/external/x86_64;/opt/vpp-stable-2005/build-root/install-vpp_debug-native/external
Install prefix      : /opt/vpp-stable-2005/build-root/install-vpp_debug-native/vpp
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/vpp-stable-2005/build-root/build-vpp_debug-native/vpp
[2/2] Linking C shared library lib/vpp_plugins/test1_plugin.so
@@@@ Installing vpp @@@@
[0/1] Install the project...
-- Install configuration: "debug"
make[1]: 离开目录“/opt/vpp-stable-2005/build-root”

5. 生成VPP(发行版)

本节介绍如何构建FD.io VPP的常规发行版。该发行版本经过优化,不会创建任何调试符号。可在/ build-root / vpp-native中找到用于构建发行映像的二进制文件。

在下面使用以下make命令来构建FD.io VPP的发行版本。

$ make build-release

我已经执行过该指令,输出如下:

# 6. make build-release
make[1]: 进入目录“/opt/vpp-stable-2005/build-root”
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for external @@@@
@@@@ Makefile fragment found in /opt/vpp-stable-2005/build-data/packages/external.mk @@@@
@@@@ Source found in /opt/vpp-stable-2005/build @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in /opt/vpp-stable-2005/build-data/packages/vpp.mk @@@@
@@@@ Source found in /opt/vpp-stable-2005/src @@@@
@@@@ Configuring external: nothing to do @@@@
@@@@ Building external: nothing to do @@@@
@@@@ Installing external: nothing to do @@@@
@@@@ Configuring vpp: nothing to do @@@@
@@@@ Building vpp: nothing to do @@@@
@@@@ Installing vpp: nothing to do @@@@
make[1]: 离开目录“/opt/vpp-stable-2005/build-root”


6. 构建必要的软件包

需要构建的软件包取决于VPP将在其上运行的系统类型:

  • 在Debian软件包如果VPP是要在Ubuntu上运行是建立
  • 该RPM软件包内置如果VPP是要在CentOS或红帽运行

7. 构建Debian软件包

因为我们的系统为CentOS7,不使用deb包管理工具,此章节略过。

要构建debian软件包,请使用以下命令:

$ make pkg-deb

一旦构建了软件包,就可以在build-root目录中找到它们。

$ ls *.deb

If the packages are built correctly, then this should be the corresponding output:

vpp_18.07-rc0~456-gb361076_amd64.deb             vpp-dbg_18.07-rc0~456-gb361076_amd64.deb
vpp-dev_18.07-rc0~456-gb361076_amd64.deb         vpp-api-lua_18.07-rc0~456-gb361076_amd64.deb
vpp-lib_18.07-rc0~456-gb361076_amd64.deb         vpp-api-python_18.07-rc0~456-gb361076_amd64.deb
vpp-plugins_18.07-rc0~456-gb361076_amd64.deb

最后,可以使用以下命令安装创建的软件包。安装与VPP将在其上运行的操作系统相对应的软件包:

对于Ubuntu:

$ sudo bash
# dpkg -i *.deb

8. 构建RPM软件包

为了生成自己的VPP安装rpm包,执行下面命令,可以生成一系列的软件包
要生成rpm软件包,请根据系统使用以下命令之一:

$ make pkg-rpm

----------此处省略一万行------
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh libselinux-utils policycoreutils policycoreutils-python selinux-policy-base >= 3.13.1-128.6.fc22 selinux
-policy-targeted >= 3.13.1-128.6.fc22Requires(postun): /bin/sh
处理文件:vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64
Provides: vpp-debuginfo = 20.05.1-5~gc53cb5c vpp-debuginfo(x86-64) = 20.05.1-5~gc53cb5c
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
检查未打包文件:/usr/lib/rpm/check-files /opt/vpp-stable-2005/build-root/rpmbuild/BUILDROOT/vpp-20.05.1-5~gc53cb5c.x86_64
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm
写道:/opt/vpp-stable-2005/build-root/rpmbuild/RPMS/x86_64/vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm
执行(%clean): /bin/sh -e /var/tmp/rpm-tmp.NyscIa
+ umask 022
+ cd /opt/vpp-stable-2005/build-root/rpmbuild
+ cd vpp-20.05.1
+ /usr/bin/rm -rf /opt/vpp-stable-2005/build-root/rpmbuild/BUILDROOT/vpp-20.05.1-5~gc53cb5c.x86_64
+ exit 0
mv $(find /opt/vpp-stable-2005/build-root/rpmbuild/RPMS -name \*.rpm -type f) /opt/vpp-stable-2005/build-root
make[1]: 离开目录“/opt/vpp-stable-2005/extras/rpm”

我构建RPM包后,就可以在build-root目录中找到它们:

# cd /opt/vpp-stable-2005/build-root
[root@localhost build-root]# ls
autowank                                 vpp-20.05.1-5~gc53cb5c.x86_64.rpm
build-config.mk                          vpp-api-lua-20.05.1-4~g202978f_dirty.x86_64.rpm
build-config.mk.README                   vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm
build-test                               vpp-api-python-20.05.1-4~g202978f_dirty.x86_64.rpm
build-vpp_debug-native                   vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm
build-vpp-native                         vpp-api-python3-20.05.1-4~g202978f_dirty.x86_64.rpm
config.site                              vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm
copyimg                                  vpp-debuginfo-20.05.1-4~g202978f_dirty.x86_64.rpm
install-vpp_debug-native                 vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm
install-vpp-native                       vpp-devel-20.05.1-4~g202978f_dirty.x86_64.rpm
Makefile                                 vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
platforms.mk                             vpp-latest.tar.xz
rpmbuild                                 vpp-lib-20.05.1-4~g202978f_dirty.x86_64.rpm
scripts                                  vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
vagrant                                  vpp-plugins-20.05.1-4~g202978f_dirty.x86_64.rpm
vpp-20.05.1-4~g202978f-dirty.tar.xz      vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-20.05.1-4~g202978f_dirty.x86_64.rpm  vpp-selinux-policy-20.05.1-4~g202978f_dirty.x86_64.rpm
vpp-20.05.1-5~gc53cb5c.tar.xz            vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm

对于Centos或Redhat,可以使用下面的命令安装我们构建的软件包:

$ sudo bash
# rpm -ivh *.rpm

9. 离线安装VPP

我们的环境大多数为内网,无法连接互联网,之前在10.170.7.166上安装是因为配置了网络代理,所以这里对于离线安装方法的介绍是必不可少的。

9.1. 系统RPM包更新

在有网络环境的环境下使用yum下载更新的rpm包

yum update --downloadonly --downloaddir=./ --skip-broken

在我的虚拟机(10.170.6.59)下,下载的rpm包如下:

adobe-mappings-cmap-20171205-3.el7.noarch.rpm
adobe-mappings-cmap-deprecated-20171205-3.el7.noarch.rpm
adobe-mappings-pdf-20180407-1.el7.noarch.rpm
adwaita-cursor-theme-3.28.0-1.el7.noarch.rpm
adwaita-icon-theme-3.28.0-1.el7.noarch.rpm
bash-4.2.46-34.el7.x86_64.rpm
bison-3.0.4-2.el7.x86_64.rpm
ca-certificates-2020.2.41-70.0.el7_8.noarch.rpm
centos-release-7-8.2003.0.el7.centos.x86_64.rpm
compat-exiv2-023-0.23-2.el7.x86_64.rpm
compat-libgfortran-41-4.1.2-45.el7.x86_64.rpm
compat-libtiff3-3.9.4-12.el7.x86_64.rpm
cpio-2.11-27.el7.x86_64.rpm
cpp-4.8.5-39.el7.x86_64.rpm
dialog-1.2-5.20130523.el7.x86_64.rpm
diffutils-3.3-5.el7.x86_64.rpm
doxygen-1.8.5-4.el7.x86_64.rpm
epel-release-7-12.noarch.rpm
exiv2-0.27.0-2.el7_6.x86_64.rpm
exiv2-libs-0.27.0-2.el7_6.x86_64.rpm
expat-2.1.0-11.el7.x86_64.rpm
expat-devel-2.1.0-11.el7.x86_64.rpm
filesystem-3.2-25.el7.x86_64.rpm
findutils-4.5.11-6.el7.x86_64.rpm
flex-2.5.37-6.el7.x86_64.rpm
foomatic-filters-4.0.9-9.el7.x86_64.rpm
freeglut-3.0.0-8.el7.x86_64.rpm
freeglut-devel-3.0.0-8.el7.x86_64.rpm
fuse-devel-2.9.2-11.el7.x86_64.rpm
fuse-libs-2.9.2-11.el7.x86_64.rpm
gcc-4.8.5-39.el7.x86_64.rpm
gcc-c++-4.8.5-39.el7.x86_64.rpm
gcc-gfortran-4.8.5-39.el7.x86_64.rpm
glibc-2.17-307.el7.1.i686.rpm
glibc-2.17-307.el7.1.x86_64.rpm
glibc-common-2.17-307.el7.1.x86_64.rpm
glibc-devel-2.17-307.el7.1.i686.rpm
glibc-devel-2.17-307.el7.1.x86_64.rpm
glibc-headers-2.17-307.el7.1.x86_64.rpm
gnome-getting-started-docs-3.28.2-1.el7.noarch.rpm
gnome-user-docs-3.28.2-1.el7.noarch.rpm
info-5.1-5.el7.x86_64.rpm
iprutils-2.4.17.1-3.el7_7.x86_64.rpm
iptables-1.4.21-34.el7.x86_64.rpm
iptables-devel-1.4.21-34.el7.x86_64.rpm
iwl1000-firmware-39.31.5.1-76.el7.noarch.rpm
iwl100-firmware-39.31.5.1-76.el7.noarch.rpm
iwl105-firmware-18.168.6.1-76.el7.noarch.rpm
iwl135-firmware-18.168.6.1-76.el7.noarch.rpm
iwl2000-firmware-18.168.6.1-76.el7.noarch.rpm
iwl2030-firmware-18.168.6.1-76.el7.noarch.rpm
iwl3160-firmware-25.30.13.0-76.el7.noarch.rpm
iwl3945-firmware-15.32.2.9-76.el7.noarch.rpm
iwl4965-firmware-228.61.2.24-76.el7.noarch.rpm
iwl5000-firmware-8.83.5.1_1-76.el7.noarch.rpm
iwl5150-firmware-8.24.2.2-76.el7.noarch.rpm
iwl6000-firmware-9.221.4.1-76.el7.noarch.rpm
iwl6000g2a-firmware-18.168.6.1-76.el7.noarch.rpm
iwl6000g2b-firmware-18.168.6.1-76.el7.noarch.rpm
iwl6050-firmware-41.28.5.1-76.el7.noarch.rpm
iwl7260-firmware-25.30.13.0-76.el7.noarch.rpm
jasper-libs-1.900.1-33.el7.x86_64.rpm
kernel-headers-3.10.0-1127.19.1.el7.x86_64.rpm
kernel-tools-3.10.0-1127.19.1.el7.x86_64.rpm
kernel-tools-libs-3.10.0-1127.19.1.el7.x86_64.rpm
libatomic-4.8.5-39.el7.x86_64.rpm
libatomic-static-4.8.5-39.el7.x86_64.rpm
libexif-0.6.21-7.el7_8.x86_64.rpm
libgcc-4.8.5-39.el7.i686.rpm
libgcc-4.8.5-39.el7.x86_64.rpm
libgfortran-4.8.5-39.el7.x86_64.rpm
libgomp-4.8.5-39.el7.x86_64.rpm
libgs-9.25-2.el7_7.3.x86_64.rpm
libitm-4.8.5-39.el7.x86_64.rpm
libitm-devel-4.8.5-39.el7.x86_64.rpm
libjpeg-turbo-1.2.90-8.el7.x86_64.rpm
libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm
libpaper-1.1.24-8.el7.x86_64.rpm
libpcap-1.5.3-12.el7.x86_64.rpm
libpfm-4.7.0-10.el7.x86_64.rpm
libpfm-devel-4.7.0-10.el7.x86_64.rpm
libproxy-0.4.11-11.el7.x86_64.rpm
libproxy-mozjs-0.4.11-11.el7.x86_64.rpm
libquadmath-4.8.5-39.el7.x86_64.rpm
libquadmath-devel-4.8.5-39.el7.x86_64.rpm
libsndfile-1.0.25-11.el7.x86_64.rpm
libstdc++-4.8.5-39.el7.i686.rpm
libstdc++-4.8.5-39.el7.x86_64.rpm
libstdc++-devel-4.8.5-39.el7.i686.rpm
libstdc++-devel-4.8.5-39.el7.x86_64.rpm
libtdb-1.3.18-1.el7.x86_64.rpm
libtevent-0.9.39-1.el7.x86_64.rpm
libtirpc-0.2.4-0.16.el7.x86_64.rpm
libvncserver-0.9.9-14.el7_8.1.x86_64.rpm
libvorbis-1.3.3-8.el7.1.x86_64.rpm
libwvstreams-4.6.1-12.el7_8.x86_64.rpm
libX11-1.6.7-2.el7.i686.rpm
libX11-1.6.7-2.el7.x86_64.rpm
libX11-common-1.6.7-2.el7.noarch.rpm
libX11-devel-1.6.7-2.el7.i686.rpm
libX11-devel-1.6.7-2.el7.x86_64.rpm
libXfont-1.5.4-1.el7.x86_64.rpm
ltrace-0.7.91-16.el7.x86_64.rpm
m17n-db-1.6.4-4.el7.noarch.rpm
man-pages-overrides-7.8.1-1.el7.x86_64.rpm
mozjs17-17.0.0-20.el7.x86_64.rpm
numactl-2.0.12-5.el7.x86_64.rpm
numactl-devel-2.0.12-5.el7.x86_64.rpm
numactl-libs-2.0.12-5.el7.x86_64.rpm
openjpeg2-2.3.1-3.el7_7.x86_64.rpm
papi-5.2.0-26.el7.x86_64.rpm
papi-devel-5.2.0-26.el7.x86_64.rpm
python3-3.6.8-13.el7.x86_64.rpm
python3-html2text-2019.8.11-1.el7.noarch.rpm
python3-libs-3.6.8-13.el7.x86_64.rpm
python3-pip-9.0.3-7.el7_7.noarch.rpm
python3-setuptools-39.2.0-10.el7.noarch.rpm
qt5-qtdoc-5.9.7-1.el7.noarch.rpm
qt5-qttranslations-5.9.7-1.el7.noarch.rpm
rcs-5.9.0-7.el7.x86_64.rpm
rfkill-0.4-10.el7.x86_64.rpm
scl-utils-20130529-19.el7.x86_64.rpm
sed-4.2.2-6.el7.x86_64.rpm
setup-2.8.71-11.el7.noarch.rpm
strace-4.24-4.el7.x86_64.rpm
tzdata-2020a-1.el7.noarch.rpm
unixODBC-2.3.1-14.el7.x86_64.rpm
unixODBC-devel-2.3.1-14.el7.x86_64.rpm
urw-base35-bookman-fonts-20170801-10.el7.noarch.rpm
urw-base35-c059-fonts-20170801-10.el7.noarch.rpm
urw-base35-d050000l-fonts-20170801-10.el7.noarch.rpm
urw-base35-fonts-20170801-10.el7.noarch.rpm
urw-base35-fonts-common-20170801-10.el7.noarch.rpm
urw-base35-gothic-fonts-20170801-10.el7.noarch.rpm
urw-base35-nimbus-mono-ps-fonts-20170801-10.el7.noarch.rpm
urw-base35-nimbus-roman-fonts-20170801-10.el7.noarch.rpm
urw-base35-nimbus-sans-fonts-20170801-10.el7.noarch.rpm
urw-base35-p052-fonts-20170801-10.el7.noarch.rpm
urw-base35-standard-symbols-ps-fonts-20170801-10.el7.noarch.rpm
urw-base35-z003-fonts-20170801-10.el7.noarch.rpm
wget-1.14-18.el7_6.1.x86_64.rpm
xkeyboard-config-2.24-1.el7.noarch.rpm
xorg-x11-font-utils-7.5-21.el7.x86_64.rpm
xorg-x11-proto-devel-2018.4-1.el7.noarch.rpm
xorg-x11-xkb-utils-7.7-14.el7.x86_64.rpm
yelp-tools-3.28.0-1.el7.noarch.rpm
yelp-xsl-3.28.0-1.el7.noarch.rpm

将上述rpm包拷贝至需要安装vpp的环境下(这个环境是没网的吧!),然后进行安装:

rpm -Uvh *rpm

输出如下:

[root@localhost yum-update]# rpm -Uvh *rpm
准备中...                          ################################# [100%]
	file /usr/lib64/libgs.so.9 from install of libgs-9.25-2.el7_7.3.x86_64 conflicts with file from package ghos
tscript-9.07-28.el7.x86_64	file /usr/lib64/libijs-0.35.so from install of libgs-9.25-2.el7_7.3.x86_64 conflicts with file from package 
ghostscript-9.07-28.el7.x86_64	file /usr/bin/html2text from install of python3-html2text-2019.8.11-1.el7.noarch conflicts with file from pa
ckage python2-html2text-2016.9.19-1.el7.noarch	file /usr/bin/python-html2text from install of python3-html2text-2019.8.11-1.el7.noarch conflicts with file 
from package python2-html2text-2016.9.19-1.el7.noarch	file /usr/share/man/man1/html2text.1.gz from install of python3-html2text-2019.8.11-1.el7.noarch conflicts w
ith file from package python2-html2text-2016.9.19-1.el7.noarch	file /usr/share/man/man1/python-html2text.1.gz from install of python3-html2text-2019.8.11-1.el7.noarch conf
licts with file from package python2-html2text-2016.9.19-1.el7.noarch[root@localhost yum-update]# rpm -Uvh *rpm  --force --nodeps 
准备中...                          ################################# [100%]
正在升级/安装...
   1:libgcc-4.8.5-39.el7              ################################# [  0%]
   2:xorg-x11-proto-devel-2018.4-1.el7################################# [  1%]
   3:libX11-common-1.6.7-2.el7        ################################# [  1%]
   4:centos-release-7-8.2003.0.el7.cen################################# [  1%]
   5:adobe-mappings-cmap-20171205-3.el################################# [  2%]
   6:adobe-mappings-cmap-deprecated-20################################# [  2%]
   7:setup-2.8.71-11.el7              警告:/etc/group 已建立为 /etc/group.rpmnew 
警告:/etc/profile 已建立为 /etc/profile.rpmnew 
################################# [  3%]
警告:/etc/shadow 已建立为 /etc/shadow.rpmnew 
警告:/etc/shells 已建立为 /etc/shells.rpmnew 
/usr/bin/newaliases: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No 
such file or directory   8:filesystem-3.2-25.el7            ################################# [  3%]
   9:urw-base35-fonts-common-20170801-################################# [  3%]
  10:yelp-xsl-3.28.0-1.el7            ################################# [  4%]
  11:tzdata-2020a-1.el7               ################################# [  4%]
  12:glibc-2.17-307.el7.1             警告:/etc/nsswitch.conf 已建立为 /etc/nsswitch.conf.rpmnew 
################################# [  4%]
  13:bash-4.2.46-34.el7               ################################# [  5%]
  14:glibc-common-2.17-307.el7.1      ################################# [  5%]
  15:info-5.1-5.el7                   ################################# [  6%]
  16:libstdc++-4.8.5-39.el7           ################################# [  6%]
  17:xorg-x11-font-utils-1:7.5-21.el7 ################################# [  6%]
  18:expat-2.1.0-11.el7               ################################# [  7%]
  19:libjpeg-turbo-1.2.90-8.el7       ################################# [  7%]
  20:libX11-1.6.7-2.el7               ################################# [  7%]
  21:libquadmath-4.8.5-39.el7         ################################# [  8%]
  22:libpfm-4.7.0-10.el7              ################################# [  8%]
  23:numactl-libs-2.0.12-5.el7        ################################# [  8%]
  24:papi-5.2.0-26.el7                ################################# [  9%]
  25:libgfortran-4.8.5-39.el7         ################################# [  9%]
  26:freeglut-3.0.0-8.el7             ################################# [ 10%]
  27:exiv2-0.27.0-2.el7_6             ################################# [ 10%]
  28:exiv2-libs-0.27.0-2.el7_6        ################################# [ 10%]
  29:urw-base35-bookman-fonts-20170801################################# [ 11%]
  30:urw-base35-c059-fonts-20170801-10################################# [ 11%]
  31:urw-base35-d050000l-fonts-2017080################################# [ 11%]
  32:urw-base35-gothic-fonts-20170801-################################# [ 12%]
  33:urw-base35-nimbus-mono-ps-fonts-2################################# [ 12%]
  34:urw-base35-nimbus-roman-fonts-201################################# [ 13%]
  35:urw-base35-nimbus-sans-fonts-2017################################# [ 13%]
  36:urw-base35-p052-fonts-20170801-10################################# [ 13%]
  37:urw-base35-standard-symbols-ps-fo################################# [ 14%]
  38:urw-base35-z003-fonts-20170801-10################################# [ 14%]
  39:urw-base35-fonts-20170801-10.el7 ################################# [ 14%]
  40:libproxy-0.4.11-11.el7           ################################# [ 15%]
  41:mozjs17-17.0.0-20.el7            ################################# [ 15%]
  42:cpp-4.8.5-39.el7                 ################################# [ 15%]
  43:diffutils-3.3-5.el7              ################################# [ 16%]
  44:libatomic-4.8.5-39.el7           ################################# [ 16%]
  45:libgomp-4.8.5-39.el7             ################################# [ 17%]
  46:libitm-4.8.5-39.el7              ################################# [ 17%]
  47:iptables-1.4.21-34.el7           ################################# [ 17%]
  48:libpaper-1.1.24-8.el7            ################################# [ 18%]
  49:fuse-libs-2.9.2-11.el7           ################################# [ 18%]
  50:kernel-tools-libs-3.10.0-1127.19.################################# [ 18%]
  51:libtirpc-0.2.4-0.16.el7          ################################# [ 19%]
  52:python3-pip-9.0.3-7.el7_7        ################################# [ 19%]
  53:python3-setuptools-39.2.0-10.el7 ################################# [ 20%]
  54:python3-3.6.8-13.el7             ################################# [ 20%]
  55:python3-libs-3.6.8-13.el7        ################################# [ 20%]
  56:libvorbis-1:1.3.3-8.el7.1        ################################# [ 21%]
  57:openjpeg2-2.3.1-3.el7_7          ################################# [ 21%]
  58:unixODBC-2.3.1-14.el7            ################################# [ 21%]
  59:kernel-headers-3.10.0-1127.19.1.e################################# [ 22%]
  60:glibc-headers-2.17-307.el7.1     ################################# [ 22%]
  61:gnome-user-docs-3.28.2-1.el7     ################################# [ 23%]
  62:adwaita-cursor-theme-3.28.0-1.el7################################# [ 23%]
  63:adobe-mappings-pdf-20180407-1.el7################################# [ 23%]
  64:libgs-9.25-2.el7_7.3             ################################# [ 24%]
  65:adwaita-icon-theme-3.28.0-1.el7  ################################# [ 24%]
  66:gnome-getting-started-docs-3.28.2################################# [ 24%]
  67:glibc-devel-2.17-307.el7.1       ################################# [ 25%]
  68:unixODBC-devel-2.3.1-14.el7      ################################# [ 25%]
  69:libsndfile-1.0.25-11.el7         ################################# [ 25%]
  70:python3-html2text-2019.8.11-1.el7################################# [ 26%]
  71:kernel-tools-3.10.0-1127.19.1.el7################################# [ 26%]
  72:fuse-devel-2.9.2-11.el7          ################################# [ 27%]
  73:iptables-devel-1.4.21-34.el7     ################################# [ 27%]
  74:libatomic-static-4.8.5-39.el7    ################################# [ 27%]
  75:rcs-5.9.0-7.el7                  ################################# [ 28%]
  76:libproxy-mozjs-0.4.11-11.el7     ################################# [ 28%]
  77:freeglut-devel-3.0.0-8.el7       ################################# [ 28%]
  78:papi-devel-5.2.0-26.el7          ################################# [ 29%]
  79:numactl-2.0.12-5.el7             ################################# [ 29%]
  80:numactl-devel-2.0.12-5.el7       ################################# [ 30%]
  81:libpfm-devel-4.7.0-10.el7        ################################# [ 30%]
  82:xorg-x11-xkb-utils-7.7-14.el7    ################################# [ 30%]
  83:compat-libtiff3-3.9.4-12.el7     ################################# [ 31%]
  84:jasper-libs-1.900.1-33.el7       ################################# [ 31%]
  85:libjpeg-turbo-devel-1.2.90-8.el7 ################################# [ 31%]
  86:libvncserver-0.9.9-14.el7_8.1    ################################# [ 32%]
  87:compat-exiv2-023-0.23-2.el7      ################################# [ 32%]
  88:expat-devel-2.1.0-11.el7         ################################# [ 32%]
  89:doxygen-1:1.8.5-4.el7            ################################# [ 33%]
  90:libstdc++-devel-4.8.5-39.el7     ################################# [ 33%]
  91:libwvstreams-4.6.1-12.el7_8      ################################# [ 34%]
  92:ltrace-0.7.91-16.el7             ################################# [ 34%]
  93:bison-3.0.4-2.el7                ################################# [ 34%]
  94:cpio-2.11-27.el7                 ################################# [ 35%]
  95:findutils-1:4.5.11-6.el7         ################################# [ 35%]
  96:flex-2.5.37-6.el7                ################################# [ 35%]
  97:sed-4.2.2-6.el7                  ################################# [ 36%]
  98:wget-1.14-18.el7_6.1             ################################# [ 36%]
  99:ca-certificates-2020.2.41-70.0.el################################# [ 37%]
 100:iprutils-2.4.17.1-3.el7_7        ################################# [ 37%]
 101:scl-utils-20130529-19.el7        ################################# [ 37%]
 102:strace-4.24-4.el7                ################################# [ 38%]
 103:yelp-tools-3.28.0-1.el7          ################################# [ 38%]
 104:compat-libgfortran-41-4.1.2-45.el################################# [ 38%]
 105:dialog-1.2-5.20130523.el7        ################################# [ 39%]
 106:foomatic-filters-4.0.9-9.el7     ################################# [ 39%]
 107:libexif-0.6.21-7.el7_8           ################################# [ 39%]
 108:libpcap-14:1.5.3-12.el7          ################################# [ 40%]
 109:libtdb-1.3.18-1.el7              ################################# [ 40%]
 110:libtevent-0.9.39-1.el7           ################################# [ 41%]
 111:libXfont-1.5.4-1.el7             ################################# [ 41%]
 112:rfkill-0.4-10.el7                ################################# [ 41%]
 113:epel-release-7-12                ################################# [ 42%]
 114:xkeyboard-config-2.24-1.el7      ################################# [ 42%]
 115:qt5-qttranslations-5.9.7-1.el7   ################################# [ 42%]
 116:qt5-qtdoc-5.9.7-1.el7            ################################# [ 43%]
 117:man-pages-overrides-7.8.1-1.el7  ################################# [ 43%]
 118:m17n-db-1.6.4-4.el7              ################################# [ 44%]
 119:iwl7260-firmware-25.30.13.0-76.el################################# [ 44%]
 120:iwl6050-firmware-41.28.5.1-76.el7################################# [ 44%]
 121:iwl6000g2b-firmware-18.168.6.1-76################################# [ 45%]
 122:iwl6000g2a-firmware-18.168.6.1-76################################# [ 45%]
 123:iwl6000-firmware-9.221.4.1-76.el7################################# [ 45%]
 124:iwl5150-firmware-8.24.2.2-76.el7 ################################# [ 46%]
 125:iwl5000-firmware-8.83.5.1_1-76.el################################# [ 46%]
 126:iwl4965-firmware-228.61.2.24-76.e################################# [ 46%]
 127:iwl3945-firmware-15.32.2.9-76.el7################################# [ 47%]
 128:iwl3160-firmware-25.30.13.0-76.el################################# [ 47%]
 129:iwl2030-firmware-18.168.6.1-76.el################################# [ 48%]
 130:iwl2000-firmware-18.168.6.1-76.el################################# [ 48%]
 131:iwl135-firmware-18.168.6.1-76.el7################################# [ 48%]
 132:iwl105-firmware-18.168.6.1-76.el7################################# [ 49%]
 133:iwl100-firmware-39.31.5.1-76.el7 ################################# [ 49%]
 134:iwl1000-firmware-1:39.31.5.1-76.e################################# [ 49%]
 135:glibc-2.17-307.el7.1             ################################# [ 50%]
 136:glibc-devel-2.17-307.el7.1       ################################# [ 50%]
 137:gcc-4.8.5-39.el7                 ################################# [ 51%]
 138:libquadmath-devel-4.8.5-39.el7   ################################# [ 51%]
 139:libX11-1.6.7-2.el7               ################################# [ 51%]
 140:libX11-devel-1.6.7-2.el7         ################################# [ 52%]
 141:libgcc-4.8.5-39.el7              ################################# [ 52%]
 142:libX11-devel-1.6.7-2.el7         ################################# [ 52%]
 143:gcc-gfortran-4.8.5-39.el7        ################################# [ 53%]
 144:libitm-devel-4.8.5-39.el7        ################################# [ 53%]
 145:libstdc++-4.8.5-39.el7           ################################# [ 54%]
 146:libstdc++-devel-4.8.5-39.el7     ################################# [ 54%]
 147:gcc-c++-4.8.5-39.el7             ################################# [ 54%]
正在清理/删除...
 148:glibc-devel-2.17-260.el7_6.3     ################################# [ 55%]
 149:libX11-devel-1.6.5-2.el7         ################################# [ 55%]
 150:libX11-devel-1.6.5-2.el7         ################################# [ 55%]
 151:libX11-1.6.5-2.el7               ################################# [ 56%]
 152:yelp-tools-3.18.0-1.el7          ################################# [ 56%]
 153:urw-fonts-2.4-16.el7             ################################# [ 56%]
 154:libitm-devel-4.8.5-36.el7_6.1    ################################# [ 57%]
 155:adwaita-icon-theme-3.22.0-1.el7  ################################# [ 57%]
 156:gcc-gfortran-4.8.5-36.el7_6.1    ################################# [ 58%]
 157:libproxy-mozjs-0.4.11-10.el7     ################################# [ 58%]
 158:gcc-c++-4.8.5-36.el7_6.1         ################################# [ 58%]
 159:exiv2-libs-0.23-6.el7            ################################# [ 59%]
 160:compat-libtiff3-3.9.4-11.el7     ################################# [ 59%]
 161:mozjs17-17.0.0-19.el7            ################################# [ 59%]
 162:libproxy-0.4.11-10.el7           ################################# [ 60%]
 163:libgfortran-4.8.5-36.el7_6.1     ################################# [ 60%]
 164:libwvstreams-4.6.1-11.el7        ################################# [ 61%]
 165:kernel-tools-3.10.0-693.el7      ################################# [ 61%]
 166:doxygen-1:1.8.5-3.el7            ################################# [ 61%]
 167:strace-4.12-4.el7                ################################# [ 62%]
 168:rcs-5.9.0-5.el7                  ################################# [ 62%]
 169:ltrace-0.7.91-14.el7             ################################# [ 62%]
 170:diffutils-3.3-4.el7              ################################# [ 63%]
 171:libitm-4.8.5-36.el7_6.1          ################################# [ 63%]
 172:xorg-x11-font-utils-1:7.5-20.el7 ################################# [ 63%]
 173:wget-1.14-15.el7                 ################################# [ 64%]
 174:sed-4.2.2-5.el7                  ################################# [ 64%]
 175:numactl-2.0.9-6.el7_2            ################################# [ 65%]
 176:libvncserver-0.9.9-9.el7_0.1     ################################# [ 65%]
 177:libsndfile-1.0.25-10.el7         ################################# [ 65%]
 178:jasper-libs-1.900.1-31.el7       ################################# [ 66%]
 179:flex-2.5.37-3.el7                ################################# [ 66%]
 180:findutils-1:4.5.11-5.el7         ################################# [ 66%]
 181:cpio-2.11-24.el7                 ################################# [ 67%]
 182:bison-3.0.4-1.el7                ################################# [ 67%]
 183:libquadmath-devel-4.8.5-36.el7_6.################################# [ 68%]
 184:libstdc++-devel-4.8.5-36.el7_6.1 ################################# [ 68%]
 185:unixODBC-devel-2.3.1-11.el7      ################################# [ 68%]
 186:papi-devel-5.2.0-23.el7          ################################# [ 69%]
 187:numactl-devel-2.0.9-6.el7_2      ################################# [ 69%]
 188:libstdc++-devel-4.8.5-36.el7_6.1 ################################# [ 69%]
 189:libstdc++-4.8.5-36.el7_6.1       ################################# [ 70%]
 190:libpfm-devel-4.7.0-4.el7         ################################# [ 70%]
 191:libjpeg-turbo-devel-1.2.90-6.el7 ################################# [ 70%]
 192:libatomic-static-4.8.5-16.el7    ################################# [ 71%]
 193:iptables-devel-1.4.21-18.0.1.el7.################################# [ 71%]
 194:gnome-getting-started-docs-3.22.0################################# [ 72%]
 195:fuse-devel-2.9.2-8.el7           ################################# [ 72%]
 196:freeglut-devel-2.8.1-3.el7       ################################# [ 72%]
 197:expat-devel-2.1.0-10.el7_3       ################################# [ 73%]
 198:epel-release-7-11                ################################# [ 73%]
 199:ca-certificates-2017.2.14-71.el7 ################################# [ 73%]
 200:gcc-4.8.5-36.el7_6.1             ################################# [ 74%]
 201:glibc-devel-2.17-260.el7_6.3     ################################# [ 74%]
 202:cpp-4.8.5-36.el7_6.1             ################################# [ 75%]
 203:glibc-headers-2.17-260.el7_6.3   ################################# [ 75%]
 204:glibc-2.17-260.el7_6.3           ################################# [ 75%]
 205:libgomp-4.8.5-36.el7_6.1         ################################# [ 76%]
 206:freeglut-2.8.1-3.el7             ################################# [ 76%]
 207:numactl-libs-2.0.9-6.el7_2       ################################# [ 76%]
 208:papi-5.2.0-23.el7                ################################# [ 77%]
 209:libstdc++-4.8.5-36.el7_6.1       ################################# [ 77%]
 210:libquadmath-4.8.5-36.el7_6.1     ################################# [ 77%]
 211:iptables-1.4.21-18.0.1.el7.centos################################# [ 78%]
 212:libatomic-4.8.5-16.el7           ################################# [ 78%]
 213:info-5.1-4.el7                   ################################# [ 79%]
 214:xorg-x11-xkb-utils-7.7-12.el7    ################################# [ 79%]
 215:libX11-1.6.5-2.el7               ################################# [ 79%]
 216:scl-utils-20130529-17.el7_1      ################################# [ 80%]
 217:iprutils-2.4.14.1-1.el7          ################################# [ 80%]
 218:libpfm-4.7.0-4.el7               ################################# [ 80%]
 219:filesystem-3.2-21.el7            ################################# [ 81%]
 220:setup-2.8.71-7.el7               ################################# [ 81%]
 221:expat-2.1.0-10.el7_3             ################################# [ 82%]
 222:fuse-libs-2.9.2-8.el7            ################################# [ 82%]
 223:libjpeg-turbo-1.2.90-6.el7       ################################# [ 82%]
 224:unixODBC-2.3.1-11.el7            ################################# [ 83%]
 225:libvorbis-1:1.3.3-8.el7          ################################# [ 83%]
 226:libXfont-1.5.2-1.el7             ################################# [ 83%]
 227:kernel-tools-libs-3.10.0-693.el7 ################################# [ 84%]
 228:rfkill-0.4-9.el7                 ################################# [ 84%]
 229:libtirpc-0.2.4-0.10.el7          ################################# [ 85%]
 230:libtevent-0.9.31-1.el7           ################################# [ 85%]
 231:libtdb-1.3.12-2.el7              ################################# [ 85%]
 232:libpcap-14:1.5.3-9.el7           ################################# [ 86%]
 233:libexif-0.6.21-6.el7             ################################# [ 86%]
 234:foomatic-filters-4.0.9-8.el7     ################################# [ 86%]
 235:dialog-1.2-4.20130523.el7        ################################# [ 87%]
 236:compat-libgfortran-41-4.1.2-44.el################################# [ 87%]
 237:centos-release-7-4.1708.el7.cento################################# [ 87%]
 238:libX11-common-1.6.5-2.el7        ################################# [ 88%]
 239:kernel-headers-3.10.0-693.el7    ################################# [ 88%]
 240:gnome-user-docs-3.22.0-1.el7     ################################# [ 89%]
 241:libgcc-4.8.5-36.el7_6.1          ################################# [ 89%]
 242:adwaita-cursor-theme-3.22.0-1.el7################################# [ 89%]
 243:yelp-xsl-3.20.1-1.el7            ################################# [ 90%]
 244:xorg-x11-proto-devel-7.7-20.el7  ################################# [ 90%]
 245:xkeyboard-config-2.20-1.el7      ################################# [ 90%]
 246:qt5-qttranslations-5.6.2-1.el7   ################################# [ 91%]
 247:qt5-qtdoc-5.6.2-1.el7            ################################# [ 91%]
 248:man-pages-overrides-7.4.3-1.el7  ################################# [ 92%]
 249:m17n-db-1.6.4-3.el7              ################################# [ 92%]
 250:iwl7265-firmware-22.0.7.0-56.el7 ################################# [ 92%]
 251:iwl7260-firmware-22.0.7.0-56.el7 ################################# [ 93%]
 252:iwl6050-firmware-41.28.5.1-56.el7################################# [ 93%]
 253:iwl6000g2b-firmware-17.168.5.2-56################################# [ 93%]
 254:iwl6000g2a-firmware-17.168.5.3-56################################# [ 94%]
 255:iwl6000-firmware-9.221.4.1-56.el7################################# [ 94%]
 256:iwl5150-firmware-8.24.2.2-56.el7 ################################# [ 94%]
 257:iwl5000-firmware-8.83.5.1_1-56.el################################# [ 95%]
 258:iwl4965-firmware-228.61.2.24-56.e################################# [ 95%]
 259:iwl3945-firmware-15.32.2.9-56.el7################################# [ 96%]
 260:iwl3160-firmware-22.0.7.0-56.el7 ################################# [ 96%]
 261:iwl2030-firmware-18.168.6.1-56.el################################# [ 96%]
 262:iwl2000-firmware-18.168.6.1-56.el################################# [ 97%]
 263:iwl135-firmware-18.168.6.1-56.el7################################# [ 97%]
 264:iwl105-firmware-18.168.6.1-56.el7################################# [ 97%]
 265:iwl100-firmware-39.31.5.1-56.el7 ################################# [ 98%]
 266:iwl1000-firmware-1:39.31.5.1-56.e################################# [ 98%]
 267:glibc-common-2.17-260.el7_6.3    ################################# [ 99%]
 268:bash-4.2.46-28.el7               ################################# [ 99%]
 269:glibc-2.17-260.el7_6.3           ################################# [ 99%]
 270:tzdata-2017b-1.el7               ################################# [100%]
 271:libgcc-4.8.5-36.el7_6.1          ################################# [100%]

9.2. VPP的依赖安装

这里,我下载了VPP的一些依赖rpm包,这对应VPP安装过程中的make install-dep指令。依赖包如下,可能不全:

[root@localhost vpp]# cd vpp-install-deps/
[root@localhost vpp-install-deps]# ls
audit-2.8.5-4.el7.x86_64.rpm                                 pkcs11-helper-devel-1.11-3.el7.x86_64.rpm
audit-libs-2.8.5-4.el7.x86_64.rpm                            pkgconfig-0.27.1-4.el7.x86_64.rpm
audit-libs-devel-2.8.5-4.el7.x86_64.rpm                      policycoreutils-2.5-34.el7.x86_64.rpm
audit-libs-python-2.8.5-4.el7.x86_64.rpm                     policycoreutils-devel-2.5-34.el7.x86_64.rpm
audit-libs-static-2.8.5-4.el7.x86_64.rpm                     policycoreutils-newrole-2.5-34.el7.x86_64.rpm
boost-filesystem-1.53.0-28.el7.x86_64.rpm                    policycoreutils-python-2.5-34.el7.x86_64.rpm
boost-system-1.53.0-28.el7.x86_64.rpm                        policycoreutils-restorecond-2.5-34.el7.x86_64.rpm
checkpolicy-2.5-8.el7.x86_64.rpm                             policycoreutils-sandbox-2.5-34.el7.x86_64.rpm
epel-release-7-12.noarch.rpm                                 PyQt4-4.10.1-13.el7.x86_64.rpm
glibc-2.17-307.el7.1.x86_64.rpm                              PyQt4-devel-4.10.1-13.el7.x86_64.rpm
libecap-1.0.0-1.el7.x86_64.rpm                               python-ipython-3.2.1-1.el7.noarch.rpm
libecap-devel-1.0.0-1.el7.x86_64.rpm                         python-ipython-console-3.2.1-1.el7.noarch.rpm
libffi-3.0.13-19.el7.x86_64.rpm                              python-ipython-gui-3.2.1-1.el7.noarch.rpm
libffi-devel-3.0.13-19.el7.x86_64.rpm                        README.txt
libmatchbox-1.9-15.el7.x86_64.rpm                            selinux-policy-3.13.1-266.el7.noarch.rpm
libsemanage-2.5-14.el7.x86_64.rpm                            selinux-policy-devel-3.13.1-266.el7.noarch.rpm
libsemanage-devel-2.5-14.el7.x86_64.rpm                      setools-libs-3.3.8-4.el7.x86_64.rpm
libsemanage-python-2.5-14.el7.x86_64.rpm                     setools-libs-tcl-3.3.8-4.el7.x86_64.rpm
libsemanage-static-2.5-14.el7.x86_64.rpm                     squid-migration-script-3.5.20-15.el7.x86_64.rpm
libXdmcp-1.1.2-6.el7.x86_64.rpm                              squid-sysvinit-3.5.20-15.el7.x86_64.rpm
libXfont2-2.0.3-1.el7.x86_64.rpm                             ustr-1.0.4-16.el7.x86_64.rpm
matchbox-window-manager-1.2-16.1.20070628svn.el7.x86_64.rpm  ustr-devel-1.0.4-16.el7.x86_64.rpm
mbedtls-2.7.16-2.el7.x86_64.rpm                              xcb-util-image-0.4.0-2.el7.x86_64.rpm
mbedtls-devel-2.7.16-2.el7.x86_64.rpm                        xcb-util-keysyms-0.4.0-1.el7.x86_64.rpm
mbedtls-doc-2.7.16-2.el7.noarch.rpm                          xcb-util-renderutil-0.3.9-3.el7.x86_64.rpm
mbedtls-static-2.7.16-2.el7.x86_64.rpm                       xorg-x11-server-common-1.20.4-10.el7.x86_64.rpm
mbedtls-utils-2.7.16-2.el7.x86_64.rpm                        xorg-x11-server-Xephyr-1.20.4-10.el7.x86_64.rpm
pkcs11-helper-1.11-3.el7.x86_64.rpm

由于版本的影响,安装过程中会提示冲突导致安装不成功,这里使用强制安装

rpm -Uvh *rpm  --force --nodeps 

输出如下:

[root@localhost vpp-install-deps]# rpm -Uvh *rpm  --force --nodeps 
准备中...                          ################################# [100%]
正在升级/安装...
   1:glibc-2.17-307.el7.1             ################################# [  1%]
   2:audit-libs-2.8.5-4.el7           ################################# [  3%]
   3:pkgconfig-1:0.27.1-4.el7         ################################# [  4%]
   4:pkcs11-helper-1.11-3.el7         ################################# [  6%]
   5:ustr-1.0.4-16.el7                ################################# [  7%]
   6:libsemanage-2.5-14.el7           ################################# [  9%]
   7:policycoreutils-2.5-34.el7       ################################# [ 10%]
   8:mbedtls-2.7.16-2.el7             ################################# [ 12%]
   9:checkpolicy-2.5-8.el7            ################################# [ 13%]
  10:PyQt4-4.10.1-13.el7              ################################# [ 15%]
  11:setools-libs-3.3.8-4.el7         ################################# [ 16%]
  12:python-ipython-console-3.2.1-1.el################################# [ 18%]
  13:python-ipython-gui-3.2.1-1.el7   ################################# [ 19%]
  14:mbedtls-devel-2.7.16-2.el7       ################################# [ 21%]
  15:selinux-policy-3.13.1-266.el7    ################################# [ 22%]
  16:libsemanage-python-2.5-14.el7    ################################# [ 24%]
  17:ustr-devel-1.0.4-16.el7          ################################# [ 25%]
  18:libsemanage-devel-2.5-14.el7     ################################# [ 26%]
  19:audit-libs-python-2.8.5-4.el7    ################################# [ 28%]
  20:policycoreutils-python-2.5-34.el7################################# [ 29%]
  21:policycoreutils-devel-2.5-34.el7 ################################# [ 31%]
  22:selinux-policy-devel-3.13.1-266.e################################# [ 32%]
  23:boost-system-1.53.0-28.el7       ################################# [ 34%]
  24:libecap-1.0.0-1.el7              ################################# [ 35%]
  25:libffi-3.0.13-19.el7             ################################# [ 37%]
  26:libmatchbox-1.9-15.el7           ################################# [ 38%]
  27:matchbox-window-manager-1.2-16.1.################################# [ 40%]
  28:libXdmcp-1.1.2-6.el7             ################################# [ 41%]
  29:libXfont2-2.0.3-1.el7            ################################# [ 43%]
  30:xcb-util-image-0.4.0-2.el7       ################################# [ 44%]
  31:xcb-util-keysyms-0.4.0-1.el7     ################################# [ 46%]
  32:xcb-util-renderutil-0.3.9-3.el7  ################################# [ 47%]
  33:xorg-x11-server-common-1.20.4-10.################################# [ 49%]
  34:xorg-x11-server-Xephyr-1.20.4-10.################################# [ 50%]
  35:policycoreutils-sandbox-2.5-34.el################################# [ 51%]
  36:libffi-devel-3.0.13-19.el7       ################################# [ 53%]
  37:libecap-devel-1.0.0-1.el7        ################################# [ 54%]
  38:boost-filesystem-1.53.0-28.el7   ################################# [ 56%]
  39:libsemanage-static-2.5-14.el7    ################################# [ 57%]
  40:mbedtls-static-2.7.16-2.el7      ################################# [ 59%]
  41:python-ipython-3.2.1-1.el7       ################################# [ 60%]
  42:setools-libs-tcl-3.3.8-4.el7     ################################# [ 62%]
  43:PyQt4-devel-4.10.1-13.el7        ################################# [ 63%]
  44:mbedtls-utils-2.7.16-2.el7       ################################# [ 65%]
  45:policycoreutils-newrole-2.5-34.el################################# [ 66%]
  46:pkcs11-helper-devel-1.11-3.el7   ################################# [ 68%]
  47:audit-libs-devel-2.8.5-4.el7     ################################# [ 69%]
  48:audit-2.8.5-4.el7                ################################# [ 71%]
  49:policycoreutils-restorecond-2.5-3################################# [ 72%]
  50:squid-sysvinit-7:3.5.20-15.el7   ################################# [ 74%]
  51:squid-migration-script-7:3.5.20-1################################# [ 75%]
  52:mbedtls-doc-2.7.16-2.el7         ################################# [ 76%]
  53:epel-release-7-12                ################################# [ 78%]
  54:audit-libs-static-2.8.5-4.el7    ################################# [ 79%]
正在清理/删除...
  55:selinux-policy-3.13.1-229.el7_6.9################################# [ 81%]
  56:libffi-devel-3.0.13-18.el7       ################################# [ 82%]
  57:audit-libs-devel-2.7.6-3.el7     ################################# [ 84%]
  58:policycoreutils-python-2.5-29.el7################################# [ 85%]
  59:audit-libs-python-2.7.6-3.el7    ################################# [ 87%]
  60:policycoreutils-2.5-29.el7_6.1   ################################# [ 88%]
  61:boost-filesystem-1.53.0-27.el7   ################################# [ 90%]
  62:audit-2.7.6-3.el7                ################################# [ 91%]
  63:xorg-x11-server-common-1.20.1-5.3################################# [ 93%]
  64:audit-libs-2.7.6-3.el7           ################################# [ 94%]
  65:boost-system-1.53.0-27.el7       ################################# [ 96%]
  66:checkpolicy-2.5-4.el7            ################################# [ 97%]
  67:libffi-3.0.13-18.el7             ################################# [ 99%]
  68:libXfont2-2.0.1-2.el7            ################################# [100%]

9.3. VPP RPM包的安装

我再10.170.7.166服务器上成功的联网安装了VPP,利用make pkg-rpm生成VPP rpm包,将其拷贝至需要安装VPP的环境
我生成的VPP安装包如下:

vpp-20.05.1-5~gc53cb5c.tar.xz                  vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-20.05.1-5~gc53cb5c.x86_64.rpm              vpp-latest.tar.xz
vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm      vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm   vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm  vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm

安装vpp-selinux-policy

rpm -i vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm 

安装vpp-debuginfo

rpm -i vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm 

安装vpp-lib

rpm -i vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm

安装vpp

rpm -i vpp-20.05.1-5~gc53cb5c.x86_64.rpm 

安装vpp-plugins

rpm -i vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm 

安装vpp-devel

rpm -i vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm 

安装过程中的一些log如下:


[root@localhost vpp-pkg-rpm]# rpm -i vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm 
错误:依赖检测失败:
	libnat.so.20.05.1()(64bit) 被 vpp-plugins-20.05.1-5~gc53cb5c.x86_64 需要
	libvatclient.so.20.05.1()(64bit) 被 vpp-plugins-20.05.1-5~gc53cb5c.x86_64 需要
	vpp = 20.05.1-5~gc53cb5c 被 vpp-plugins-20.05.1-5~gc53cb5c.x86_64 需要
[root@localhost vpp-pkg-rpm]# rpm -i vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm 
[root@localhost vpp-pkg-rpm]# rpm -i vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm 
[root@localhost vpp-pkg-rpm]# rpm -i *rpm
	软件包 vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64 已经安装
[root@localhost vpp-pkg-rpm]# rpm -Uvh *rpm
准备中...                          ################################# [100%]
	软件包 vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64 已经安装
[root@localhost vpp-pkg-rpm]# rpm -i vpp-20.05.1-5~gc53cb5c.x86_64.rpm 
错误:依赖检测失败:
	libsvm.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libsvmdb.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvatplugin.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvlib.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvlibmemory.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvlibmemoryclient.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvnet.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvppapiclient.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	libvppinfra.so.20.05.1()(64bit) 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
	vpp-lib = 20.05.1-5~gc53cb5c 被 vpp-20.05.1-5~gc53cb5c.x86_64 需要
[root@localhost vpp-pkg-rpm]# rpm -i vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm 
[root@localhost vpp-pkg-rpm]# rpm -i vpp-
vpp-20.05.1-5~gc53cb5c.x86_64.rpm                 vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm         vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm      vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm     vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm       
[root@localhost vpp-pkg-rpm]# rpm -i vpp-api-*
错误:依赖检测失败:
	vpp = 20.05.1-5~gc53cb5c 被 vpp-api-lua-20.05.1-5~gc53cb5c.x86_64 需要
	vpp = 20.05.1-5~gc53cb5c 被 vpp-api-python-20.05.1-5~gc53cb5c.x86_64 需要
	vpp = 20.05.1-5~gc53cb5c 被 vpp-api-python3-20.05.1-5~gc53cb5c.x86_64 需要
[root@localhost vpp-pkg-rpm]# rpm -i vpp-20.05.1-5~gc53cb5c.x86_64.rpm 
* Applying /usr/lib/sysctl.d/00-system.conf ...
* Applying /usr/lib/sysctl.d/10-default-yama-scope.conf ...
kernel.yama.ptrace_scope = 0
* Applying /usr/lib/sysctl.d/50-default.conf ...
kernel.sysrq = 16
kernel.core_uses_pid = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.conf.all.promote_secondaries = 1
fs.protected_hardlinks = 1
fs.protected_symlinks = 1
* Applying /usr/lib/sysctl.d/60-libvirtd.conf ...
fs.aio-max-nr = 1048576
* Applying /etc/sysctl.d/80-vpp.conf ...
vm.nr_hugepages = 1024
vm.max_map_count = 3096
vm.hugetlb_shm_group = 0
kernel.shmmax = 2147483648
* Applying /etc/sysctl.d/99-sysctl.conf ...
* Applying /etc/sysctl.conf ...
[root@localhost vpp-pkg-rpm]# rpm -i vpp-
vpp-20.05.1-5~gc53cb5c.x86_64.rpm                 vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm         vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm      vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm     vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm       
[root@localhost vpp-pkg-rpm]# rpm -i vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm 
[root@localhost vpp-pkg-rpm]# rpm -i vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm 
[root@localhost vpp-pkg-rpm]# rpm -i vpp-api-*
(reverse-i-search)`fi': ldcon^Cg 
[root@localhost vpp-pkg-rpm]# ^C
[root@localhost vpp-pkg-rpm]# ^C
[root@localhost vpp-pkg-rpm]# files=`ls *.rpm`;for file in $files; do rpm -i $file; done
	软件包 vpp-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-api-lua-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-api-python-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-api-python3-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-devel-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-lib-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-plugins-20.05.1-5~gc53cb5c.x86_64 已经安装
	软件包 vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64 已经安装
[root@localhost vpp-pkg-rpm]# 
[root@localhost vpp-pkg-rpm]# vpp
vpp                    vpp_api_test           vpp_echo               vpp_get_stats          vpp_restart
vppapigen              vppctl                 vpp_get_metrics        vpp_prometheus_export  
[root@localhost vpp-pkg-rpm]# vpp
vpp                    vpp_api_test           vpp_echo               vpp_get_stats          vpp_restart
vppapigen              vppctl                 vpp_get_metrics        vpp_prometheus_export  
[root@localhost vpp-pkg-rpm]# ls
vpp-20.05.1-5~gc53cb5c.tar.xz                  vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-20.05.1-5~gc53cb5c.x86_64.rpm              vpp-latest.tar.xz
vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm      vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm   vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm  vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm
[root@localhost vpp-pkg-rpm]# 
[root@localhost vpp-pkg-rpm]# ls
vpp-20.05.1-5~gc53cb5c.tar.xz                  vpp-devel-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-20.05.1-5~gc53cb5c.x86_64.rpm              vpp-latest.tar.xz
vpp-api-lua-20.05.1-5~gc53cb5c.x86_64.rpm      vpp-lib-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python-20.05.1-5~gc53cb5c.x86_64.rpm   vpp-plugins-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-api-python3-20.05.1-5~gc53cb5c.x86_64.rpm  vpp-selinux-policy-20.05.1-5~gc53cb5c.x86_64.rpm
vpp-debuginfo-20.05.1-5~gc53cb5c.x86_64.rpm
[root@localhost vpp-pkg-rpm]# cd ..
[root@localhost vpp]# ls
vpp-install-deps  vpp-pkg-rpm  yum-update
[root@localhost vpp]# 
[root@localhost vpp]# ls

以上内容由RToax编写,或翻译、整理自网络。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值