1. Install a Package with YUM
# yum -y install firefox
2. Removing a Package with YUM
# yum -y remove firfox
3. Updating a Package using YUM
# yum update mysql
4. List a Package using YUM
# yum list openssh
5. Search for a Package using YUM
# yum search vsftpd
6. Get Information of a Package using YUM
# yum info firefox
7. List all Available Packages using YUM
# yum list
8. List all Installed Packages using YUM
# yum list installed
9. Yum Provides Function – to find which package a specific file belongs to
# yum provides /etc/httpd/conf/httpd.conf
10. Check for Available Updates using Yum
# yum check-update
11. Update System using Yum
# yum update
12. List all available Group Packages
# yum grouplist
13. Install a Group Packages
# yum groupinstall ‘MySQL Database’
14. Update a Group Packages
# yum groupupdate ‘DNS Name Server’
15. Remove a Group Packages
# yum groupremove ‘DNS Name Server’
16. List Enabled Yum Repositories
# yum repolist
17. List all Enabled and Disabled Yum Repositories
# yum repolist all
18. Install a Package from Specific Repository
# yum –enablerepo=epel install phpmyadmin
19. Interactive Yum Shell
# yum shell
20. Clean Yum Cache (all the repository enabled package data in /var/cache/yum/ )
# yum clean all
21. View History of Yum
# yum history