1. Installing packages
yum install firefox -y
2. Removing packages
yum remove firefox -y
3. Updating packages
yum update firefox -y
4. Listing packages
yum list openssh
5. Searching packages
yum search vsftpd
6. Get package information
yum info firefox
7. List all packages
yum list | less
8. List all installed packages
yum list installed | less
9. Yum provides Function to find the package to a specific file
yum provides /etc/httpd/conf/httpd.conf
10. Check for available updates
yum check-update
11. Update system
yum update
12. List all available group packages
yum grouplist
13. Install a group package
yum groupinstall 'MySQL Database'
14. Update a group package
yum groupupdate 'DNS Name Server'
15. Remove a group package
yum groupremove 'DNS Name Server'
16. List enabled yum repositories
yum repolist
17. List all enabled and disabled 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
yum clean all
21. yum history
yum history
yum install firefox -y
2. Removing packages
yum remove firefox -y
3. Updating packages
yum update firefox -y
4. Listing packages
yum list openssh
5. Searching packages
yum search vsftpd
6. Get package information
yum info firefox
7. List all packages
yum list | less
8. List all installed packages
yum list installed | less
9. Yum provides Function to find the package to a specific file
yum provides /etc/httpd/conf/httpd.conf
10. Check for available updates
yum check-update
11. Update system
yum update
12. List all available group packages
yum grouplist
13. Install a group package
yum groupinstall 'MySQL Database'
14. Update a group package
yum groupupdate 'DNS Name Server'
15. Remove a group package
yum groupremove 'DNS Name Server'
16. List enabled yum repositories
yum repolist
17. List all enabled and disabled 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
yum clean all
21. yum history
yum history
No comments:
Post a Comment