
Linux Server Installation
Determining whether RPM Files are already Installed
12 Configuring Red Hat Linux
July 2004
Determining whether RPM Files are already Installed
1 In the terminal emulation window, at the command prompt, type rpm –q <name of RPM
package>.
2 To search for RPM files using a partial RPM package name, at the command prompt type:
rpm –qa | grep <partial name>
For example, rpm –qa | grep vnc to determine if any RPM packages beginning with “vnc” have
been installed.
Installing RPM Files
1 Insert the Red Hat installation CD in the CD-ROM drive.
2 Open a terminal emulation window.
3 Type cd /mnt/cdrom/RedHat/RPMS.
NOTE:
If Linux responds “directory does not exist,” you may have to manually mount the CD-
ROM drive. To do so, perform the following steps:
a Type mount /dev/cdrom.
b Type cd /dev/cdrom/RedHat/RPMS.
4 At the command prompt, type rpm –iv <name of RPM package>.
Komentarze do niniejszej Instrukcji