4. Uninstall Connext for Debian

This section details how to successfully uninstall Connext Debian packages using standard Debian apt commands.

4.1. Basic Removal

Use the apt remove command to uninstall some or all Connext packages from your Debian system.

4.1.1. Remove specific packages

Use apt remove --autoremove to uninstall a specific package and its dependencies. For example, to uninstall all packages installed by a Basic Installation:

apt remove --autoremove rti-connext-dds-<version>

The --autoremove option removes any packages automatically installed as a dependency for the removed package, if no other installed packages are still dependent on them.

4.1.2. Remove all packages

The rti-connext-dds-<version>-common package is a required dependency for all other Connext packages. If you want to uninstall all Connext Debian packages from your system, remove the rti-connext-dds-<version>-common package:

apt remove rti-connext-dds-<version>-common

4.1.3. Files not removed

The``apt remove`` command does not remove the following:

The debconf database stores your RTI License Agreement response. Since these database entries are not removed, your response is preserved even after the rti-connext-dds-<version>-common package has been removed. As a result, you won’t be required to accept the license again the next time you install a Connext Debian package.

Connext Debian Package Conffiles

Package

conffiles

rti-connext-dds-<version>-common

  • /opt/rti.com/rti_connext_dds-<version>/rti_license.dat

  • /opt/rti.com/rti_connext_dds-<version>/rti_versions.xml

  • /opt/rti.com/rti_connext_dds-<version>/resource/scripts/rticommon_config.sh

4.2. Complete Removal

Use apt purge to uninstall all Connext packages from your Debian system. Since the rti-connext-dds-<version>-common package is a required dependency for all Connext packages, purging it will also remove all other Connext Debian packages.

Use the following command to completely remove Connext from your Debian system:

apt purge rti-connext-dds-<version>-common

This command completes the following actions:

  • Uninstalls all Connext Debian packages for the selected <version>.

  • Deletes the /opt/rti.com/rti_connext_dds-<version> installation directory.

  • Clears all entries added by a Connext Debian package from the debconf database.

After purging Connext, you have to manually remove the ${HOME}/rti_workspace/<version>/ directory, if it exists. This directory is automatically created after running an executable in /opt/rti.com/rti_connext_dds-<version>/bin after installing the rti-connext-dds-<version>-workspace package.