$ yum list updatesApply updates
$ yum updateList installed packages
$ yum list installed <package-name> # e.g. $ yum list installed httpdOR
$ rpm -qa | grep httpd*
Check for and update a package
$ yum update <package-name>
Search a package or list all
$ yum list <package-name/regex/wildcard> $ yum list all # list group packages $ yum grouplist
Install a package
$ yum install <package-name>
Remove/Uninstall a package
$ yum remove <package-name>
Install/Update group packages
$ yum groupinstall "Development Tools" $ yum groupupdate "Development Tools"
List packages that are not official RHN
$ yum list extras
Find out which package is a file from
$ yum whatprovides <filename>
No comments:
Post a Comment