How to Install Unison on Linux mint 18.03

To Install Unison on Linux mint 18.03
Unison is a cross-platform, open-source file synchronization software that permits the users to store the copies of files and folders on two different hosts. When two files are merged with each other, the difference gets copied from one replica to another.  This article explains the installation of Unison on Linux Mint 18.03.

Initiate the Unison installation by adding the repository via PPA. 

linuxhelp ~ # add-apt-repository ppa:eugenesan/ppa
You are about to add the following PPA:
 This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.

| Disclaimer:
* Packages in this a nd related PPAs are for personal use only.
  They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
  packaged in this and related PPAs. End users and administrator are responsible for
  runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
  Ubuntu repositories and external PPAs. Below is the list of
Press Enter to continue or Ctrl+C to cancel

Executing: /tmp/tmp.FW8z8h1P9R/ --keyserver
gpg: requesting key 8313A596 from hkp server
gpg: key 8313A596: public key "Launchpad synergy+" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Once it is done, use the following command to update the apt-sources-list.

linuxhelp ~ # apt-get update
Hit:1 xenial InRelease
Hit:2 xenial-security InRelease                                        
Hit:3 xenial-updates InRelease                                          
Hit:4 xenial InRelease                                               
Get:5 xenial InRelease [17.5 kB]                           
Ign:6 sylvia InRelease                                                     
Hit:7 xenial-backports InRelease                              
Hit:8 xenial InRelease                              
Get:9 xenial/main Sources [32.7 kB]                   
Get:10 xenial/main amd64 Packages [44.2 kB]
Hit:11 sylvia Release      
Get:13 xenial/main i386 Packages [44.2 kB]
Get:14 xenial/main Translation-en [27.2 kB]
Fetched 166 kB in 3s (54.9 kB/s)  
Reading package lists... Done

After updating the apt-sources-list, run the following command to install the package.

linuxhelp ~ # apt-get install unison
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 458 not upgraded.
Need to get 727 kB of archives.
After this operation, 2,345 kB of additional disk space will be used.
Get:1 xenial/main amd64 unison amd64 2.48.4-0~eugenesan~xenial1 [727 kB]
Fetched 727 kB in 7s (98.7 kB/s)
Selecting previously unselected package unison.
(Reading database ... 225134 files and directories currently installed.)
Preparing to unpack .../unison_2.48.4-0~eugenesan~xenial1_amd64.deb ...
Unpacking unison (2.48.4-0~eugenesan~xenial1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.7.5-1) ...
Setting up unison (2.48.4-0~eugenesan~xenial1) ...
update-alternatives: using /usr/bin/unison-latest-stable to provide /usr/bin/unison (unison) in auto mode

Once it is done, use the following command to view the Basic and Advanced options.

linuxhelp ~ # unison -help
Usage: unison [options]
    or unison root1 root2 [options]
    or unison profilename [options]

Basic options: 
 -auto              automatically accept default (nonconflicting) actions
 -batch             batch mode: ask no questions at all
 -doc xxx           show documentation ('-doc topics' lists topics)
 -fat               use appropriate options for FAT filesystems
 -group             synchronize group attributes

Check the version of Unison, run the following command.

linuxhelp ~ # unison -version
unison version 2.48.4

With this, the method to install Unison on Linux mint 18.03  comes to an end.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Linux Mint Unison
user image Author :  Mason