### Uninstalling the Driver

Use one of the following methods to uninstall the Linux driver, Uninstalling with RPM or Uninstalling from a TGZ Archive.

#### Uninstalling with RPM

Note: The procedures in this topic should be used only in Linux environments which 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

##### Procedure

1. Use the dgrp_cfg_node command with the uninit option for each PortServer. This will kill each PortServer daemon and erase all information of that PortServer from the system.

   `dgrp_cfg_node uninit ID`

   where ID specifies the ID of the PortServer to unconfigure.

2. Enter this command to remove the driver package:

   `rpm -e -vv realport`

#### Uninstalling from a TGZ Archive

Important: If you have deleted the source repository created when you installed this driver package, then there is no automated mechanism to remove the package files.

1. Access a command prompt at the root on your Linux system.
2. Change directories to the root of the source tree

   `cd /usr/src/realport-version`

   Substitute your driver version numbers for `version` in the previous command. For example, if the driver version is 1.0, the command would be:

   `cd /usr/src/realport-1.0`

3. Enter these two make commands:

   `make preuninstall
   make uninstall`