Syncthing Centos 7

Posted onby
  1. Syncthing Alternatives. In an age of increasing security concerns, privacy-focused tools like Syncthing have gained notoriety among the tech crowd. The app securely synchronizes files across computers and mobile devices.
  2. Note: those steps are valid for Debian, Ubuntu, CentOS, RHEL, Fedora and other Debian or RPM based Linux distributions 2. After Syncthing is installed, the steps to add a folder and other.

By default, in CentOS 7, SELinux is enabled and in enforcing mode. It is recommended to keep SELinux in enforcing mode, but in some cases, you may need to set it to a permissive mode or disable it completely. In this tutorial, we will show you how to disable SELinux on CentOS 7 systems. Prerequisites #.

YUM command (Yellowdog Updater Modified) is the traditional package manager for RedHat based systems. It is present in almost every RedHat based distro but isn’t the default in many of them now. It has been replaced by the newer DNF command. We have a separate article on DNF.

yum command Basic Usage

The general syntax of YUM command is

Available commands include install, search, query, etc. args can be a package name, a group name, or subcommand(s) specific to the ‘command’.

Note: To install and remove packages, you need to have sudo privileges. Since I am already root( which is not a great idea but works for the purpose of demonstration), I won’t be prepending any command with sudo. But keep in your mind that you must prepend sudo while installing and removing packages.

Note: On modern systems(CentOS 8 specifically) /usr/bin/yum is just a symlink to dnf. So, running yum eventually runs dnf.
This doesn’t cause a problem as dnf has almost the same syntax as yum.

Managing packages using the yum command

Let’s now see how we can use the yum command to install/remove/query packages on our RedHat based system.

1. Search and Install packages

Let’s install Syncthing – the file-syncing application using the yum command. But you may not know the exact name of the package. It’s better to search for the package first. You can use the search command of YUM for searching packages.

In our case, the name of the package is also syncthing. Once you know the exact package name, you can use the install command of YUM for installing that package.

2. List information about a package

To list more information about a package, use the info command of YUM.

3. List all installed packages using yum

To see the list of installed packages, you can use the list installed command of YUM.

Combined with the grep command, you can search whether a particular package is installed or not as follows

If it didn’t produce any output, it means that the package is not installed. In that case.

4. Remove a package

To remove a package, use the remove command of YUM.

To remove all unneeded packages that were originally installed as dependencies, use the autoremove command

Syncthing Centos 7

5. Upgrade a package using the yum command

To upgrade all the packages that can be upgraded, use the upgrade command

To upgrade a specific package, just add the name of the package, for example:

6. Search and Install package groups

Package groups are just multiple packages under a single name. These packages groups can be a whole server GUI, Security Tools, Administration Tools, etc. To see the list of groups, you can use the group list command of YUM.

Syncthing Centos 7 Free

To know which packages are there in a group package, just use the group infocommand and give the name of the package. For “Security Tools” package, type

Note: You need to enclose the Group Package Name which has multiple words in quotes(” “).
Even if the Group package name is a single word, it is recommended that you use quotes.

Syncthing Centos 7 Download

Let’s install the Security Tools Group package using the group install command.

7. List available or enabled repositories

To list all the available repositories, type

To list all the enabled repositories, type

8. List dependencies of a package

To list the dependencies of a package, use the deplist command.

9. View history of installation/removal of packages

Sometimes, viewing your YUM history is a good idea especially if you want to repeat the installations on a different system. History can be viewed using the history command of YUM.


This tutorial was about the yum command in Linux. Hope you had fun learning with us!

Category: Technology

User Rating: 5 / 5

Syncthing 0.14.46rc2 is now available in OKay's RPM repository since today. Syncthing is a complete synchronization, multi-platform solution to have same files on your devices. It is like a Peer-to-Peer.

Syncthing is an excellent option if you have at least one road warrior involved. Since there is no warranty of a public IP or even a static IP, Syncthing architecture allows clients to bypass NAT's and allow file exchange. The good thing about Syncthing is it is available not only on Linux and Windows but Android as well. You can have in sync important files on your mobile or tablet.

Please note that 0.14.x is not compatible with 0.13.x. So, you need to update everything.

RPM's are available for Centos 6 and 7. And you can find it if you type yum search syncthing.


Please enable JavaScript to view the comments powered by comments powered by Disqus