Installing new software packages on Linux-64 (mps-pc10)

For installing new software packages, you need the distribution medium (usually a dvd) mounted in /media/cdrom. The command that will do this without having a physical dvd can be executed as root (assuming that there is an iso file of the distribution at /home/stryker/mandriva-linux-2008.0-pwp-dvd-x86_64.iso) by typing

/usr/local/bin/install-packages.sh

This shell script contains the following commands:

losetup /dev/loop0 /home/stryker/mandriva-linux-2008.0-pwp-dvd-x86_64.iso
mount -t iso9660 /dev/loop0 /media/cdrom

After installing the packages with the "Manage software" dialog box, it is a good idea to unmount the fake dvd from the cdrom drive, which involves the following commands.

umount /dev/loop0
losetup -d /dev/loop0

In some circumstances, it looks like the package installer does the unmounting automatically. If not, you can restore the cdrom drive to its normal function by executing (as root), which contains the twocommands above.

/usr/local/bin/install-packages-unmount.sh