我是靠谱客的博主 老实毛巾,这篇文章主要介绍【CentOS 7笔记28】,yum的用法#yum工具操作yum搭建本地仓库yum更换国内源yum下载rpm包方,现在分享给大家,希望可以做个参考。

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

shallow丿ove


yum工具操作

  1. yum list #列出可用的所有软件包
[root@localhost ~]# ls /etc/yum.repos.d/CentOS-
CentOS-Base.repo       CentOS-Debuginfo.repo  CentOS-Media.repo      CentOS-Vault.repo
CentOS-CR.repo         CentOS-fasttrack.repo  CentOS-Sources.repo  
[root@localhost ~]# vi /etc/yum.repos.d/CentOS-Base.repo
	# CentOS-Base.repo
	#
	# The mirror system uses the connecting IP address of the client and the
	# update status of each mirror to pick mirrors that are updated to and
	# geographically close to the client.  You should use this for CentOS updates
	# unless you are manually picking other mirrors.
	#
	# If the 

最后

以上就是老实毛巾最近收集整理的关于【CentOS 7笔记28】,yum的用法#yum工具操作yum搭建本地仓库yum更换国内源yum下载rpm包方的全部内容,更多相关【CentOS内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部