Friday, December 28, 2012

Easy learn linux command line- Part 12

the YUM packages tool is most favorite between fedora and redhat OS users. you can download, upgarde, update, remove fedora packages with it.
in this post we have to know about that.

Command Description
# yum -y install [package] download and install a rpm package   
# yum localinstall [package.rpm] That will install an RPM, and try to resolve all the dependencies for you using your repositories.   
# yum -y update update all rpm packages installed on the system   
# yum update [package] upgrade a rpm package   
# yum remove [package] remove a rpm package   
# yum list list all packages installed on the system   
# yum search [package] find a package on rpm repository   
# yum clean [package] clean up rpm cache erasing downloaded packages   
# yum clean headers remove all files headers that the system uses to resolve dependency   
# yum clean all remove from the cache packages and headers files  

No comments: