rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Yum install [package name]
Yup info [package name]
Yum remove [package name]
The following thing will list all the packages installed in the system and that can (they must) be updated:
yum list updates|less
To search in package names only, use yum list. This differs from search in that it’s much faster, as it will search package names only, while yum search will search all the package info, including package description.
yum list something
yum list mozilla
To get the name of the package containing a given file:
yum provides filename
yum provides /usr/bin/mozilla
Here’s some new goodies in yum 2.2 (Fedora Core 3 and beyond)
To get a list of packages updated/added to any of your repositories recently:
yum list recent
To enable a repository which is disabled in the configuration:
yum –enablerepo=reponame install packagename
yum –enablerepo=dag install j2re
To list available software groups, such as GNOME desktop environment or X window system. This is also available in the Core 2 yum, but servers doesn’t use this wonderful feature much.
To install such a group:
yum groupinstall “groupname”
yum groupinstall “GNOME Desktop Environment”
And to update a group
yum groupupdate “GNOME Desktop Environment”
And remember folks, you can always use -y to say yes to everything, and -C to use the cache only.
One tip, you can use also joker-signs as * or ? e.g.
yum install gkrellm*