Compilation of most common commands dealing with package management.
up2date
Installup2date -i package
Show packages groupsup2date --show-groups
Install a package groupup2date -i @GROUP_NAME (e.g. : up2date -i @GNOME Desktop Environment)
up2date sources specified under /etc/sysconfig/rhn/sources
yum
Installyum install package
Get infoyum info package
Removeyum erase package
Check if update available
yum check-update
Find package providing the fileyum whatprovides /some/file
Clean all yum cachesyum clean all
Yum sources specified under /etc/yum.repos.d/
rpm
Installrpm -ihv package.rpm
Reinstall an already installed packagerpm -ihv replacepkgs package.rpm
Updaterpm -Uhv package.rpm
Remove (–nodeps will break dependencies)rpm -e package (--nodeps)
Find dependencies or find which package a file belongs torpm -q --redhatprovices missing-dep-file.so.2
Find which package owns a filerpm -qf /usb/bin/vim
Get info. use -qip if getting info from a rpm packagerpm -qi(p) package(.rpm)
List packages installedrpm -qa
rpm -qa --las
1 $type={blogger}:
Can anyone recommend the top IT automation program for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central remote pc access
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!
Post a Comment