How to Install Syncthing on Elementary OS Latest

Syncthing is an open-source file synchronization software that can be used to synchronize files between multiple devices. In this tutorial, we will guide you through the process of installing Syncthing on Elementary OS Latest.

Prerequisites

Before we start, make sure that your system is up-to-date:

sudo apt update
sudo apt upgrade

Installing Syncthing

The latest version of Syncthing is available from the official Syncthing repository. To install Syncthing, follow the steps below:

  1. Go to the Syncthing website at https://syncthing.net/ and click on the "Download" button for Linux.

  2. Select "Linux (64-bit)" for Elementary OS Latest and click on the "Download" button.

  3. Extract the downloaded file by right-clicking on it and selecting "Extract Here".

  4. Open the terminal and navigate to the extracted folder using the following command:

    cd syncthing-linux-amd64-vX.X.X
    

    Replace X.X.X with the appropriate version number that you have downloaded.

  5. Copy the syncthing binary to your /usr/local/bin directory using the following command:

    sudo cp syncthing /usr/local/bin/
    
  6. Set the ownership and permissions of the syncthing binary using the following commands:

    sudo chown root:root /usr/local/bin/syncthing
    sudo chmod 755 /usr/local/bin/syncthing
    
  7. Test the installation by running the following command:

    syncthing -version
    

    This should output the version information of Syncthing.

Configuring Syncthing

Once you have installed Syncthing, you need to configure it to start automatically on system startup and set up synchronization between your devices. Here's how:

  1. Create a directory where Syncthing can store its configuration files and database. For example:

    mkdir ~/.config/syncthing
    
  2. Make sure that the directory is owned by your user:

    sudo chown -R $(whoami) ~/.config/syncthing
    
  3. Start Syncthing by running the following command:

    syncthing
    

    This will open the Syncthing web interface in your default web browser.

  4. Click on the "Actions" button and select "Settings".

  5. In the "Settings" screen, click on the "General" tab.

  6. In the "GUI" section, enable the "Listen Address" option and set it to 127.0.0.1:8384.

  7. In the "Startup" section, enable the "Start GUI on login" and "Start on system startup" options.

  8. Click on the "Save" button to save your changes.

  9. Click on the "Actions" button and select "Add Remote Device".

  10. Follow the steps to add your other devices to Syncthing and set up synchronization.

Congratulations! You have successfully installed and configured Syncthing on Elementary OS Latest.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!