当前位置:网站首页>Yum command

Yum command

2022-06-22 03:58:00 Poetry and prodigal son

Warehouse profile location :/etc/yum.repos.d/
The cache location :/var/cache/yum/

#  Search package 
yum search <package>
#  Install package 
yum install <package>
#  Remove package 
yum remove <package>
#  Update package 
yum update <package>
#  Find software listings that contain keywords ( Look in all the software listings )
yum list | grep keyword
#  Find software listings that contain keywords ( Look in the installed software inventory )
yum list installed | grep keyword
#  View software dependencies 
yum deplist <package>

#  Generate warehouse software inventory cache 
#  The cache directory :/var/cache/dnf/  or  /var/cache/yum
yum makecache
#  Delete the software inventory cache of the warehouse 
yum clean
原网站

版权声明
本文为[Poetry and prodigal son]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220349508617.html