Yum Command Install, Uninstall, Update, List Packages : Linux [Redhat, CentOS, Fedora]

To install a package using yum use following command

# yum install
# yum install mysql

To uninstall a package using yum use following command

# yum remove
# yum remove mysql




To update a package using yum use following command

# yum update
# yum update mysql

Display your current yum repositories

# yum repolist
# yum repolist all (to view all enabled and disabled list)

Leave a Reply

Your email address will not be published.