yum --yum common configuration management (2)

A network source buffer provided

[yunwei the root @ ~] # Vim / etc / yum .conf 
[main] 
cacheDir = / var / Cache / yum / basearch $ / $ the releasever 
keepcache = 0            # 1 is turned on to buffer

Second, the commonly used commands

yum repolist All software lists all the local pool information
 yum  Groups List View package group (group list) 

yum  install Package1 install the specified installation package
 yum  Groups  install group1 install the specified program group
 yum Update Update All
 yum Update Package1 update the specified packages 

yum the Remove package1 delete the specified package
 yum  groups the Remove Remove programs group group1 group1 

yum -y install  yum -utils *       install yum plugin 
yumdownloader download only the package name is not installed

Three, yum history History feature rollback, the most important thing is to rely on the joint be deleted

1 , yum History                 View history

 

2 , yum History List the Name / ID      search a package in history is

 

. 3 , yum History Use the undo ID       rollback

 

Guess you like

Origin www.cnblogs.com/cloudhere/p/11583664.html
yum