How To Install unison240 on CentOS 7

In this tutorial we learn how to install unison240 on CentOS 7. unison240 is Multi-master File synchronization tool

Introduction

In this tutorial we learn how to install unison240 on CentOS 7.

What is unison240

Unison is a multi-master file-synchronization tool. It allows two replicas of a collection of files and directories to be stored on different hosts (or different locations on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Note that this package contains Unison version 2.40, and will never be upgraded to a different major version. Other packages exist if you require a different major version.

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

Install unison240 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install unison240 using yum by running the following command:

sudo yum -y install unison240

Install unison240 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install unison240

How To Uninstall unison240 on CentOS 7

To uninstall only the unison240 package we can use the following command:

sudo dnf remove unison240

References

Summary

In this tutorial we learn how to install unison240 on CentOS 7 using yum and dnf.