The following procedure can be used in any Linux environment. It is the only choice available for environments which do not support RPM.
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:
This value would be used:
version
1.0
revision
2For this command:
This would be entered:
tar -xvzf realport-version-revision.tgz
tar -xvzf realport-1.0-2.tgz
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.
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.tgzThis will create a subdirectory called realport-version containing all of the RealPort source files.
Change directory to the root of the source directory tree.
cd /usr/src/realport-version
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.
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
Install the package components with:
make install
Register your module with the system initialization scripts by entering:
make postinstallRecommended: Do not delete the source tree since the makefiles are necessary for the uninstall procedure.