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 Ibmi Media, 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.
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.
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
This article covers a step by step guide on how to Install Syncthing on Linux Mint. Once this tool is installed on your system, you can readily use it for synchronizing your files within or across your network. Basically, Whenever you create, modify, or delete any data on one Syncthing machine it will automatically be replicated to other servers.
To verify the version of Syncthing Installed on the system, run the following command:
$ syncthing --version
Features of Syncthing file synchronization: