The Debian operating system is widely adopted and has many variations (e.g. Raspbian, Ubuntu, Linux Mint, Armbian and more). The Debian packaging system helps you to keep your entire system up to date and manage dependencies between different packages.
The remote.it "connectd" package supports the Debian packaging system for the following Debian architectures:
amd64 (current and older libraries)
i386 (current and older libraries)
Run the following commands at the console.
sudo apt update
This command updates the list of available packages on your device. It does not actually update any software packages.
sudo apt install connectd
This downloads and installs the connectd Debian package for the Raspberry Pi.
sudo apt remove connectd
sudo apt purge connectd
Follow the link below.
Determine your device's Debian architecture.
sudo dpkg --print-architecture
Locate the matching package at the releases page:
For example, supposing that your Debian architecture is "amd64", look for connectd_<version>_amd64.deb.
Right click on the file name at the releases page to copy the download link for the next step.
Use the copied link in a "curl" command as shown below.
$ curl -LkO https://github.com/remoteit/installer/releases/download/v2.2.5/connectd_2.2.5_amd64.deb% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed100 615 0 615 0 0 1112 0 --:--:-- --:--:-- --:--:-- 1112100 111k 100 111k 0 0 67632 0 0:00:01 0:00:01 --:--:-- 307k$
sudo dpkg -i connectd_2.2.5_amd64.deb
Follow the link below.
sudo dpkg -purge connectd
sudo dpkg --remove connectd
That's an interesting question, as most of the time, nobody will need to do this. Even if you wish to upgrade your connectd package, you can run either
sudo apt updatesudo apt install connectd
for Raspbian, or
curl <link to deb file>sudo dpkg -i <deb file>
for other Debian based operating systems, and the correct files will get updated while your configuration files will remain in place.
However, there may come a time when keeping your configuration files in place while replacing all of the binaries and support scripts is necessary. If so, run:
sudo dpkg --remove connectdsudo dpkg -i <Debian file name>
Here is an article with more detail about using the features of the Debian packaging system.