### Installing the Driver: Downloaded (RPM)

Use this information to choose the most appropriate procedure to install a Linux driver that you have downloaded from the Digi ftp site.

Note: These procedures should be used only in Linux environments that support the installation and building of packages from an RPM repository. The procedures require that the following RPM directories exist and are used by RPM on your Linux system.

/usr/src/redhat/BUILD
/usr/src/redhat/RPMS
/usr/src/redhat/SOURCES
/usr/src/redhat/SPECS
/usr/src/redhat/SRPMS

#### Package Version and Revision

Certain commands used in the following procedures need to be entered with the correct package version and revision number.

Note: To determine package version and revision numbers, use this command:
`rpm -qp filename`

> Example:

> If the package version of the Linux driver is 1.0 and the revision is 2, then:

> For this command variable: | This value would be used:
> --- | ---
> version | 1.0
> revision | 2
> For this command: | This would be entered:
> `rpm -ivv cpci-version-revision.src.rpm` | `rpm -ivv cpci-1.0-2.src.rpm`

#### Standard Installation Procedure

Use this procedure to install the Linux driver.

1. Download the source RPM package. The RPM package can be found on Digi's web site, http://support.digi.com/drivers, or Digi's ftp site, ftp://ftp.digi.com. For consistency, you might consider downloading the source RPM to the directory /usr/src/redhat/SRPMS.

2. Install the .src.rpm with this command:

> > `rpm -ivv cpci-version-revision.src.rpm`

> The command copies the specification file (/usr/src/redhat/SPECS/cpci-version.revision.spec) to the SPECS directory.

3. Create an RPM specific to your platform by executing the following commands:

> > `cd /usr/src/redhat/SPECS
> > rpm -bb cpci-version.revision.spec`

4. Install the RPM, which was just created by the previous step, using the following commands.

> > `cd /usr/src/redhat/RPMS/arch
> > rpm -ivv cpci-version-revision.arch.rpm`

> The arch value should be replaced with a string representing your architecture, such as i386 or alpha. This value is system dependent, and is chosen by your system when the RPM is built.

> Note: To install the driver on another system of the same architecture and Linux version, copy the following binary to the same location on the other system and execute the rpm command in this step:

> > `/usr/src/redhat/RPMS/arch/cpci-version-revision.arch.rpm`

5. Use the following commands to verify that all files have been installed correctly:

> > `cd /usr/src/redhat/SPECS
> > rpm -bl cpci-version.revision.spec`