As you see, the major drawback of the rpm utility, is that it only points out dependency problems, rather then solving them.
The apt utility, originally built for a different packaging system, handles dependencies automatically (or semi-automatically), similar to the way the urpmi utility works on Mandrake. For a RedHat system, you may download apt from Dag Wieers' web site. Install this package using the rpm command (as seen earlier).
Once you have apt installed, you need to ask it to update the local list (= cache) of packages it can install, using the following command:
[root@localhost alon]# apt-get update
To install a new program named "xsane" on your system (assuming you found the package's name, via one of the earlier web sites):
[root@localhost alon]# apt-get install xsane
To search for a program, in the cache of apt, using a keyword such as "image":
[root@localhost alon]# apt-cache search image
If you want to have a GUI to make using apt easier, take a look at synaptic. You may download a version for RedHat from the atrpms site.
Originally written by