How do I uninstall the ThinLinc server?

ThinLinc ships with an installer script which makes server installation simple and straightforward on most Linux distributions. The script can be used at both the command line and GUI, and also supports using an “answer file” to automate unattended installations.

The installer works in two steps. First, the ThinLinc software packages - either .rpm or .deb, depending on your distribution - are installed alongside any dependencies using the system’s package manager. Once this step has been completed, a configuration script called tl-setup is run. This second step performs tasks such as configuring administration passwords, contact email addresses, and printer queues. tl-setup can either be run automatically by the installer script, or manually after package installation at a time of your choosing.

ThinLinc does not ship with an uninstall script. Instead, ThinLinc relies on the system’s package manager to track the files which ship with ThinLinc. To remove all ThinLinc packages on a DEB-based system - for example, Ubuntu - the following command can be used:

sudo apt remove thinlinc-*

Or, on an RPM-based system, such as Red Hat:

sudo dnf remove thinlinc-*

Or on older RPM-based systems:

sudo yum remove thinlinc-*

This will remove the packages, but not the files and directories created by ThinLinc during use. If you wish to do this, the directories /opt/thinlinc and /var/opt/thinlinc can be deleted manually. If you set up printing support during installation, the CUPS printer queues thinlocal and nearest can also be removed.

1 Like