RedHat Satellite
rhn_register
rhnplugin
Using YUM
yum checks yum repository and RHN
/etc/yum.repos.d/*.repo
EPEL Additional Software Repositories http://fedoraproject.org/wiki/EPEL
yum help | Obvious |
yum search | search package LIST by Package Name |
yum provides | search package content for specific files |
yum info | gives detailed Infos about Package |
yum install | Install package with dependencies |
yum remove | remove Package incl. supported Packages |
yum update | updates installed packages to latest in Repository |
yum --nogpgcheck file.rpm | Installs rpm without checking validity but resolving dependencies from Repos |
see yum.conf
Using RPM
rpm checks local packages
Infos about versions of packages | |
rpm -q -a | list all packages |
rpm -q <substr> | list installed packages matching <substr> |
rpm -q -p <rpmfile> | show packagename of <rpmfile> |
rpm -q -f </path/to/file> | list package containing file |
Infos about contents of packages | |
rpm -q -i <package> | show info about <package> |
rpm -q -l <package> | list files of <package> |
rpm -q --configfiles <package> | list configfiles of <package> |
rpm -q --docfiles <package> | list docsfiles of <package> |
rpm -q --scripts <package> | list scripts of <package> |
Install files | |
rpm -ivh <packagefile> | installs <packagefile>.NOT recommended as this doesn't update the transaction history of yum |