July 25, 2005

Graphical RPM Package Management

The system-config-packages graphical utility can be used for RPM package management. It allows for the installation and removal of RPM packages. When installing RPM packages the default will prompt for a specific CD to install the RPM package from. Trying to install several RPM packages using CD's becomes cumbersome and sometimes requires that CD's be inserted into the CD-ROM drive many times. There are several options that can change the default installation source tree. These options are --tree= and --isodir=.

The --isodir= option is used to specify the directory that contains the iso images.

The --tree= option is used to specify the directory that contains the contents from the installation CD's.
NOTE: In order for the --tree option to work properly the .discinfo file must be copied from one of the installation media CD's into the installation source tree directory. If the .discinfo file does not exist in the installation source tree directory, error messages will be displayed about an improper installation source directory.

An example:
sytem-config-packages --tree=/var/ftp/pub

Posted by christec at 10:21 AM | Comments (0)