yum -y install git 无法安装...提示There are no enabled repos.


系统 : centos 7.9.2009
1.wget  http://mirrors.163.com/centos/7/os/x86_64/Packages/ centos-release-7-9.2009.0.el7.centos.x86_64.rpm (有可能根据不同时间又不一样的名称,根据centos-release自行检索)
2.rpm -ivh --replacepkgs --replacefiles  centos-release-7-9.2009.0.el7.centos.x86_64.rpm
3.yum update
4.yum -y install git 可行了...

http://mirrors.163.com/centos/7/os/x86_64/Packages/

转载于:https://www.cnblogs.com/Amos-Turing/p/8315922.html


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM