The Perfect Desktop - Part 2: Mandriva Free 2007 - Page 04
5 Add Online Software Repositories
In this step we will add some online repositories that contain all packages from our CDs plus updated packages plus additional packages that are not on the CDs. As this makes the CDs redundant, we will remove them from the repository list.
There are two ways of doing this: on the command line or in Mandriva's Control Center. I will describe both ways here. You can use the one or the other, the result is the same.
5.1 Command Line
Visit http://easyurpmi.zarb.org/ in your browser and follow the wizard. Enable the following repositories:
In the end, the wizard will show you a list of commands to run to change the repositories list of your Mandriva desktop:
Now open a terminal (Applications > Accessories > Terminal) and become root by typing:
Then run the commands from the wizard, e.g.:
urpmi.addmedia main ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrakelinux/official/2007.0/i586/media/main/release with media_info/hdlist.cz
And to remove the Mandriva CDs from the repository list, run
urpmi.removemedia Installation Free CD
5.2 Control Center
Open the Control Center and go to Software Management > Select from where software packages are downloaded when updating the system:
In the Media Manager you will find your four Mandriva CDs. Please disable them and click on Add custom... to add other repositories:
We will now add repositories with the names main, main_updates, contrib, contrib_updates, plf-free, plf-nonfree. These are FTP repositories. For example, to add the main repository, fill in:
Do the same for the other repositories like this:
These repositories should all be enabled, and updates should be enabled for main_updates and contrib_updates. Your repository list should now look like this:
Click on Ok to leave the Media Manager.