Removing the connectd package

From time to time, you may wish to completely uninstall the connectd package.

You can't remove remote.it software while using a remote.it connection, so for this procedure you'll need to have either LAN or hardware console access to your device.

 

If you used either the interactive installer (connectd_installer) or batch installer (connectd_register) to configure Services on this device

You should first unregister all of the Services from your device using the connectd_installer script Main Menu option 4, "Remove all remote.it Services, then exit".

mceclip0.png

 

Next, choose one of the options below, depending on whether you installed connectd using a .deb. or .tar file.

If you installed connectd using a Debian (.deb) file

If you used either Auto or Bulk Registration

Skip ahead to "purging the connectd Debian package".

 

Purging the connectd Debian package

Now run:

sudo dpkg --purge connectd

mceclip1.png

If you wish to leave your configuration files in place, run:

sudo apt remove connectd

This will remove all scripts, binaries, but leave user configuration files. 

 

If you installed connectd using a tar file

If you used either Auto or Bulk Registration

Skip ahead to "removing files installed with the connectd tar package".

 

Removing files installed with the connectd tar package

Disable the startup services.

Run the following commands:

sudo systemctl disable connectd.servicesudo systemctl disable connectd_schannel.service

 

When you install connectd using the tar package, a list of installed files will be created in /usr/bin/builddate.txt.  You can use this as a guide to delete the installed files.

 

In addition, if you used either the interactive installer (connectd_installer) or batch installer (connectd_register) to configure Services on this device, additional files will have been created in /etc/connectd/services and /usr/bin/Connectd* for each Service registered (which includes the Device Name).   To locate these files, run the following commands:

ls -l /usr/bin/Connectd*ls -l /etc/connectd/services/*.*

 

If you used Auto or Bulk registration, additional provisioning files will have been created.  Use the connectd_mp_configure utility menu option 4 to remove these files.

mceclip0.png

End of Section

You've reached the end of the section on using the connectd package.

Was this article helpful?
0 out of 0 found this helpful