All usefull YUM Commands Manual

Yum commands is used for package installing, uninstalling, updating, searching, etc from yum repository. Find some useful yum commands below.

#Install a new package 
[root@server ~#]yum -y install <package name> 

#Reinstall an installed package
[root@server ~#]yum reinstall <package name> 

#Uninstall a package
[root@server ~#]yum erase <package name> 

#Get Information about a package
[root@server ~#]yum info <package name> 


#Search for a package
[root@server ~#]yum search <key word> 

#Update an installed package
[root@server ~#]yum update <package name> 

#Update all the packages installed to latest version
[root@server ~#]yum update all

#List dependencies of a package
[root@server ~#]yum deplist <package name>

#Clean yum cache
[root@server ~#]yum clean all


#YUM history
[root@server ~#]yum history

#Install package from diffrent yum repository (if repo configured)
[root@server ~#]yum --enablerepo=<repo name> <package name>

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons