How To Install syncthing-tools on CentOS 8

syncthing-tools is Continuous File Synchronization (server tools)

Introduction

In this tutorial we learn how to install syncthing-tools on CentOS 8.

What is syncthing-tools

Syncthing replaces other file synchronization services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it’s transmitted over the Internet. Using syncthing, that control is returned to you. This package contains the main syncthing server tools * strelaysrv / strelaypoolsrv, the syncthing relay server for indirect file transfers between client nodes, and * stdiscosrv, the syncthing discovery server for discovering nodes to connect to indirectly over the internet.

We can use yum or dnf to install syncthing-tools on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install syncthing-tools.

Install syncthing-tools on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install syncthing-tools using dnf by running the following command:

sudo dnf -y install syncthing-tools

Install syncthing-tools on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install syncthing-tools using yum by running the following command:

sudo yum -y install syncthing-tools

How To Uninstall syncthing-tools on CentOS 8

To uninstall only the syncthing-tools package we can use the following command:

sudo dnf remove syncthing-tools

syncthing-tools Package Contents on CentOS 8

/usr/bin/stdiscosrv
/usr/bin/strelaypoolsrv
/usr/bin/strelaysrv
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/786befa786e99e7251e364a15800114ce0ff14
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/6892c0e6f81a9286ce40ffce4055beeabcd629
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/672bc8949ce0110388ffddaa47003da6444cae
/usr/share/doc/syncthing-tools
/usr/share/doc/syncthing-tools/AUTHORS
/usr/share/doc/syncthing-tools/README.md
/usr/share/licenses/syncthing-tools
/usr/share/licenses/syncthing-tools/LICENSE
/usr/share/man/man1/stdiscosrv.1.gz
/usr/share/man/man1/strelaysrv.1.gz

References

Summary

In this tutorial we learn how to install syncthing-tools on CentOS 8 using yum and dnf.