Syncthing is a multiplatform file synchronization tool. It is capable of synchronizing files across different devices within a local network or even across remote devices with the help of an Internet connection. Basically, Syncthing uses peer-to-peer architecture, meaning that each device attached to your Syncthing network retains copies of the files in your shared folders and pushes new content whenever any changes have been made.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related Linux System queries.
In this context, we shall look into how you can install this file synchronization tool on a Linux Mint 20 system.
How to Install Syncthing on Linux Mint ?
To install Syncthing on a Linux Mint 20 machine, you can follow the steps outlined below.
1. Install the Necessary Packages
To install all the necessary packages before the installation of Syncthing on Linux Mint 20, you have to execute the command shown below:
$ sudo apt-get install curl apt-transport-https
2. Import the Syncthing GPG Key
After installing these packages, you need to import the Syncthing GPG key with the following command:
$ curl –s https://syncthing.net/release-key.txt | sudo apt-key add –
3. Create the Syncthing Repository
Now, you should create a Syncthing repository with the help of the following command:
$ echo "deb https://apt.syncthing.net/ syncthing release" > sudo /etc/apt/sources.list.d/syncthing.list
4. Allow the New Changes to take Effect
After that, you should update your system to allow the new changes to take effect with the command shown below:
$ sudo apt-get update
5. Install Syncthing on your System
Once your system is updated with the new changes, you can install Syncthing on your system with the following command:
$ sudo apt-get install syncthing
6. Confirm the Installation of Syncthing on your System
You can confirm the installation of Syncthing on your system by executing the command shown below:
$ syncthing --version
Now, you will see the version of Syncthing installed on the system.
How to Uninstall Syncthing from Linux Mint 20 ?
Now, if you want to remove Syncthing from your system, then all you have to do is to execute the command shown below:
$ sudo apt-get purge --autoremove syncthing
[Need help in Installing Software on Linux Mint System ? We can help you. ]