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)