### Installing the Driver: TGZ Method

The following procedure can be used in any Linux environment. It is the only choice available for environments which do not support RPM.

#### Package Version and Revision

Certain commands used in the following procedure 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:

For example, if the package version is 1.0 and the revision is 2, then:

For this command variable: | Use this value:
`version` | `1.0`
`revision` | `2`
For this command: | Enter this:
`tar -xvzf realport-version-revision.tgz` | `tar -xvzf realport-1.0-2.tgz`

#### Procedure

1. Download the Linux RealPort TGZ file. This file can be found on Digi's web site, www.digi.com, or Digi's ftp site, ftp.digi.com/support/drivers/linux.
2. Choose a directory (such as /usr/src) where the source tree will reside, and unpack the compressed archive file there. For example:

   `cd /usr/src
   tar -xvzf realport-version-revision.tgz`

   This will create a subdirectory called realport-version containing all of the RealPort source files.

3. Change directory to the root of the source directory tree.

   `cd /usr/src/realport-version`

4. Examine the Makefile and make modifications as required by your system environment. Common items to check would include destinations directories, naming conventions, and compiler details.
5. When satisfied with the state of the Makefile and other source files, compile the driver and its support tools by entering this command:

   `make all`

6. Install the package components with:

   `make install`

7. Register your module with the system initialization scripts by entering:

   `make postinstall`

Recommended: Do not delete the source tree since the makefiles are necessary for the uninstall procedure.