复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28#python cd /usr/local/src/python wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-asn1crypto-0.24.0-3.el8.noarch.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-dnf-4.7.0-4.el8.noarch.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-gpg-1.13.1-9.el8.x86_64.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-hawkey-0.63.0-3.el8.x86_64.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-libcomps-0.1.16-2.el8.x86_64.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-libdnf-0.63.0-3.el8.x86_64.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-libs-3.6.8-41.el8.x86_64.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/python3-rpm-4.14.3-19.el8.x86_64.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/platform-python-3.6.8-41.el8.x86_64.rpm #yum cd /usr/local/src/yum wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/yum-4.7.0-4.el8.noarch.rpm wget https://repo.huaweicloud.com/centos/8-stream/BaseOS/x86_64/os/Packages/yum-utils-4.0.21-3.el8.noarch.rpm #安装Python cd /usr/local/src/python # 安装python rpm -ivh python3-* platform-python-* --nodeps --force #安装yum cd /usr/local/src/yum rpm -Uvh --force --nodeps *.rpm
最后
以上就是畅快月饼最近收集整理的关于【Centos8 安装yum】的全部内容,更多相关【Centos8内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复