The following is a description of Mandrake installation software and upgrade methods, introduce the basic use of some gadgets, such as URPMI, Urpmi.addmedia and so on. Mandrake90 itself as long as the first ISO file can grow up through the network a little bit, of course, you can add or remove some software, such as rpmdrake is to increase or upgrade the installation, Rpmdrake-remove is deleted.
1, when your computer itself has mandrake ISO file, you can be very convenient to achieve. First, mount your ISO file into a directory, such as mine:
Source:
--------------------------------------------------------------------------------
Mount-t Iso9660-o Loop/mnt/win_c2/mandrake90iso_image/mandrake90-cd1-inst.i586.iso/mnt/iso1
Mount-t Iso9660-o LOOP/MNT/WIN_C2/MANDRAKE90ISO_IMAGE/MANDRAKE90-CD2-EXT.I586.ISO/MNT/ISO2
Mount-t Iso9660-o LOOP/MNT/WIN_C2/MANDRAKE90ISO_IMAGE/MANDRAKE90-CD3-I18N.I586.ISO/MNT/ISO3
--------------------------------------------------------------------------------
Of course, I can easily go to the/mnt/isox directory to choose their own software to install. But when you encounter some of your rpm dependencies, you feel that this installation is cumbersome. Oh, please look below.
Source:
--------------------------------------------------------------------------------
Urpmi.addmedia CD1 File://mnt/iso1/Mandrake/RPMS
Urpmi.addmedia CD2 File://mnt/iso2/Mandrake/RPMS2
Urpmi.addmedia CD3 file://mnt/iso3/Mandrake/RPMS3
--------------------------------------------------------------------------------
Then you proceed to the/VAR/LIB/URPMI directory to see that you can see the front three files,
List.cd1
List.cd2
List.cd3
This is the media creation hdlist comprehensive file file. At the same time update/etc/urpmi/urpmi.cfg, you can look at the content to know what it is.
Next you can use Rpmdrake, rpmdrake-remove to delete software. Of course, at this point, you can also use URPMI add some parameters to operate, detailed can refer to the man page.
2. Network installation and upgrading of software methods.
If you only have a very small system, but as long as you can surf the Internet, you can upgrade and maintain your system through the network. You first need to know some of the network installation and upgrade software sites, I often go to is 202.38.75.11, where the update is also very timely. Of course, you can choose some fast sites.
Source:
--------------------------------------------------------------------------------
# rpm-rf/var/lib/urpmi/*
# echo RXVT >>/etc/urpmi/skip.list
# Urpmi.addmedia FTP1 ftp://202.38.75.11/FreeOS/Mandrake90/Mandrake/RPMS \ With ... /base/hdlist1.cz
# Urpmi.addmedia FTP2 ftp://202.38.75.11/FreeOS/Mandrake90/Mandrake/RPMS2 \ With ... /base/hdlist2.cz
# Urpmi.addmedia FTP3 ftp://202.38.75.11/FreeOS/Mandrake90/Mandrake/RPMS3 \ With ... /base/hdlist3.cz
# Urpmi.addmedia updates Ftp://202.38.75.11/FreeOS/Mandrake90/updates/RPMS \ with ... /base/hdlist.cz
Where FTP1~FTP3 corresponds to three installation disks, updates corresponds to the security update.
-------------------------------------------------------------------------------
Of course, you can also use--distrib this parameter, this is to add a few pieces of installation disk information, Hdlist is automatically looking for. This is more convenient.
Source code:-
-------------------------------------------------------------------------------
Urpmi.addmedia--distrib ftp://202.38.75.11/FreeOS/Mandrake90/
-------------------------------------------------------------------------------
Note: The path of the automatic search is different from the one above. Both the/VAR/LIB/URPMI directory and the/etc/urpmi/urpmi.cfg file are updated.
In this way, you use Rpmdrake, rpmdrake-remove to delete software, use updates can upgrade software. Detailed usage also refer to the next man page.
Of course, you can go to MandrakeSoft's home page, to see if those are to be updated, direct update is, or can be used mandrakeupdate to foreign mirror site automatically updated, but this method may be very slow.