19.2. Installing the Tripwire RPM

The easiest way to install Tripwire is to select the Tripwire RPM during the installation process. However, if you have already installed Red Hat Enterprise Linux, you can use the rpm command or the Package Management Tool (redhat-config-packages) to install the Tripwire RPM from the Red Hat Enterprise Linux 2.9.03 CD-ROMs.

If you are not sure whether Tripwire is installed, type the following command at a shell prompt:

rpm -q tripwire

If Tripwire is installed, this command will return the following:

tripwire-<version-number>

In the above output, <version-number> is the version number of the package.

If Tripwire is not installed, the shell prompt will return.

The following steps outline how to find and install Tripwire from CD-ROM using the RPM command line application:

  1. Insert CD 2 of the Red Hat Enterprise Linux 2.9.03 installation CD-ROMs.

  2. If the CD-ROM does not automatically mount, type the following command:

    mount /mnt/cdrom
  3. Verify that the Tripwire RPM is on the CD-ROM by typing:

    ls /mnt/cdrom/RedHat/RPMS/ | grep tripwire

    If the RPM is on the CD-ROM, this command will display the package name.

    If the RPM is not on the CD-ROM, the shell prompt will return. In this case, you will need to check the other Red Hat Enterprise Linux 2.9.03 installation CD-ROMs by first unmounting the CD-ROM and then repeating steps one through three.

    Unmount the CD-ROM by right-clicking on the CD-ROM icon and selecting Eject or by typing the following command at the shell prompt:

    umount /mnt/cdrom
  4. Once you have located the Tripwire RPM, install it by typing the following command as the root user:

    rpm -Uvh /mnt/cdrom/RedHat/RPMS/tripwire*.rpm

You will find release notes and README files for Tripwire in the /usr/share/doc/tripwire-<version-number>/ directory (where <version-number> is the version number of the software). These documents contain important information about the default policy file and other topics.