The best way to do Install/Upgrade a Package in Mandy is by using URPMI
urpmi - This is the command line package management tool used in Madriva Linux.
What it does ?
Suppose if you want to install a particular package what you do is go to the Package 's download page and start downloading the RPM and then try to install it.
You may also face problems like installing dependencies while you go by the above procedure.
So to avoid this the best way to Install a package is by using URPMI it takes care of all the dependencies required by the package.
By default you have urpmi installed with the mandrake.
Lets look at how we configure urpmi :
Config file for urpmi
The first time you look at this file it will show you that this will use the CD media to fetch the Package.
Since we need the web to be used to fetch the package we need:
[root@sriram root]# urpmi.removemedia -aThis will remove the entries made in urpmi.cfg
Now we will setup the urpmi using Easyurpmi web-based tool.
Once you visit the below url :
you will need to information that suits you
I selected the following
: and : and
Always select main, it is needed for all other media.
A few plf packages need contrib, therefore you should add contrib if you add plf.
Restrict your selection to sources you really need, since sources may conflict - It is not my fault.