Uninstall

This section covers the steps required to uninstall Helix TeamHub.

The uninstall process removes TeamHub and the installation directories from your system. Some information is left on your system and you need to manually clean up once the uninstall process has completed.

In this section:

Uninstall hth

RHEL and CentOS

To uninstall hth:

  1. Run the following command:
  2. sudo rpm -e hth

  3. Now complete the uninstall, see Common uninstall steps.

Ubuntu

To uninstall hth:

  1. Run the following command:
  2. sudo apt-get remove hth

  3. Now complete the uninstall, see Common uninstall steps.

Uninstall hth-db

RHEL and CentOS

To uninstall hth-db:

  1. Run the following command:
  2. sudo rpm -e hth-db

  3. Now complete the uninstall, see Common uninstall steps.

Ubuntu

To uninstall hth-db:

  1. Run the following command:
  2. sudo apt-get remove hth-db

  3. Now complete the uninstall, see Common uninstall steps.

Uninstall hth-web

RHEL and CentOS

To uninstall hth-web:

  1. Run the following command:
  2. sudo rpm -e hth-web

  3. Now complete the uninstall, see Common uninstall steps.

Ubuntu

To uninstall hth-web:

  1. Run the following command:
  2. sudo apt-get remove hth-web

  3. Now complete the uninstall, see Common uninstall steps.

Common uninstall steps

To complete the uninstall :

  1. To delete the data stored in /var/opt/hth (repositories, database, and configuration), run the following command:
  2. rm -rf /var/opt/hth

  3. To delete the hth user account, run the following command:
  4. sudo userdel hth

  5. Now cleanup your system, see Manual cleanup.

Manual cleanup

When you have completed the uninstall process you need to clean up the following:

  • /usr/sbin/sshd: the symlink to the TeamHub OpenSSH binary at /opt/hth/embedded/sbin/sshd will be broken. You need to manually clean up the broken link and install the ssh service when the bundled OpenSSH was used for the original installation.
  • /etc/ssh/sshd_config: remove the AuthorizedKeysCommand used by TeamHub for key-based authorization.