我是靠谱客的博主 畅快月饼,最近开发中收集的这篇文章主要介绍【Centos8 安装yum】,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述


#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 安装yum】所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(39)

评论列表共有 0 条评论

立即
投稿
返回
顶部