Standard installation procedure

Use this procedure to install the RealPort Linux driver. See Install the Driver: RPM methods for information on entering commands in this procedure. See the release notes for additional information.

  1. Download the source RPM package located on the Digi Support site. For consistency, consider downloading the source RPM to the directory /usr/src/redhat/SRPMS.
    1. Navigate to Digi RealPort support page.
    2. Scroll down to the Product Resources section.
    3. From the Drivers & Patches section, click RealPort Driver. The RealPort Driver page displays.
    4. From the list box, select the Linux option.
    5. Click download for the RealPort Driver for Linux, src.rpm version option to download the file.

  1. Install the source code in the SOURCES directory used by RPM
    (/usr/src/redhat/SOURCES) with this command:

    #> rpm -ivv dgrp-version-revision.src.rpm

    This command also copies the specification file
    (/usr/src/redhat/SPECS/dgrp-v.v.spec) to the SPECS directory.

  1. Create an RPM specific to your platform by executing the appropriate commands for your platform, as shown in the following table.

     

    OS version

    Commands

    Red Hat

    # rpmbuild --rebuild --define DISTRO=REDHAT_XX (package)

    # rpm -ivv /usr/src/redhat/RPMS/i386/dgrp-#.#-#.i386.rpm

    # insmod dgrp

    Actual DISTRO Values:

    Red Hat AS/ES/WS 2.1 = REDHAT_21

    Red Hat AS/ES/WS 3.0 = REDHAT_ES3

    Red Hat Fedora Core 1,2, or 3 = FEDORA

    Red Hat 9.0 = REDHAT_90

    Red Hat 8.0 = REDHAT_80

    Red Hat 7.3 = REDHAT_73

    Red Hat 7.2 = REDHAT_72

    There is no DISTRO flag required for Red Hat AS/ES/WS 4

    SuSE 8.x

    # rpm --rebuild (package)

    # rpm -i /usr/src/packages/RPMS/i586/dgrp-#.#-#.i586.rpm

    # insmod dgrp

    SuSE 9.x

    # rpmbuild --rebuild (package)

    # rpm -i /usr/src/packages/RPMS/i586/dgrp-#.#-#.i586.rpm

    # insmod dgrp

    Mandrake

    # rpmbuild --rebuild (package)

    # rpm -i /usr/src/RPM/RPMS/i586/dgrp-#.#-#.i586.rpm

    # insmod dgrp

    Debian

    # rpmbuild --rebuild (package)

    # cd /usr/src/rpm/RPMS/i386

    # alien -d dgrp-#.#-#.i386.rpm

    # dpkg -i dgrp_#.#-#_i386.deb

    # insmod dgrp

    For example, for the Red Hat platform, the commands are:

    cd /usr/src/redhat/SPECS
    rpmbuild --rebuild --define DISTRO=REDHAT_XX (package)
    rpm -ivv /usr/src/redhat/RPMS/i386/dgrp-#.#-#.i386.rpm
    insmod dgrp
    ()

  1. Install the RPM created by the previous step using the following commands.

    cd /usr/src/redhat/RPMS/arch
    rpm -ivv dgrp-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.

    To install the RealPort 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/dgrp-version-revision.arch.rpm

  1. Use the following commands to verify that all files are installed correctly:

    cd /usr/src/redhat/SPECS
    rpm -bl dgrp-version.spec