Some YUM Commands Explanations
1. yum list List all available packages
2. yum list http* List all packages starting with "http"
3. yum check-update Check for available updates
4. yum update Update all available packages
5. yum update samba* Update only the samba packages
6. yum install httpd Install the httpd package
7. yum install xmms wine Install both the xmms and wine packages
8. yum -y install httpd Install package (answering yes to all questions)
9. yum provides httpd.conf List package name that provides the "httpd.conf" file
10. yum clean all Removes cached packages and RPM headers from system
11.yum remove http* Uninstalls all packages starting with "http"
12. /etc/init.d/yum start Start the nightly updating service
13. chkconfig yum on Enabling yum service on runlevels
14. yum list >> yumlist.txt Save List of all available packages into yum.txt
15. kill -9 pid of yum server Stop yum Server.
16. man yum Man page for more information about yum server
17.yum whatprovides /etc/passwd Find out what provides the /etc/passwd file.
18.yum yum grouplist Display list of group software.
19.yum groupinstall "Development Tools" Install all 'Development Tools'group packages
20.yum groupremove "Development Tools" Remove all 'Development Tools' group packages
Wednesday, June 24, 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment