How To Install Unison On Debian 8.6

How To Install Unison On Debian 8.6

Unison is an cross-platform, open-source file synchronization tool that runs on Windows, OS X, Unix and Linux. Unison stores 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. Unison communicates via a direct socket link and tunneling over an encrypted SSH connection. This article explains the installation of Unison on Ubuntu.

To Install Unison

First add the repository by entering nano /etc/apt/sources.list for installing unison. After adding the repo save the file.

root@linuxhelp:~# nano /etc/apt/sources.list
deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://ftp.de.debian.org/debian jessie main

Then update the newly added repository by entering apt-get update.

root@linuxhelp:~# apt-get update
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Ign http://ftp.de.debian.org jessie InRelease                                  
Get:2 http://ftp.de.debian.org jessie Release.gpg [2,373 B]                    
Get:3 http://ftp.de.debian.org jessie Release [148 kB]                         
Get:4 http://security.debian.org jessie/updates InRelease [63.1 kB]            
Get:5 http://ftp.de.debian.org jessie/main amd64 Packages [6,776 kB]           
Ign http://ftp.debian.org stable InRelease                                     
Get:6 http://ftp.debian.org jessie-updates/main Sources [15.4 kB]              
Get:7 http://ftp.debian.org jessie-updates/contrib Sources [32 B]          
.
.
.
Get:22 http://ftp.debian.org stable/non-free amd64 Packages [83.6 kB]          
Get:23 http://ftp.debian.org stable/contrib Translation-en [38.5 kB]           
Get:24 http://ftp.debian.org stable/main Translation-en [4,582 kB]             
Get:25 http://ftp.de.debian.org jessie/main Translation-en [4,582 kB]          
Get:26 http://ftp.debian.org stable/non-free Translation-en [72.1 kB]          
Fetched 24.2 MB in 3min 15s (124 kB/s)                                         
Reading package lists... Done

Once the repository is successfully installed, install the unison by entering apt-get install-y.

root@linuxhelp:~# apt-get install unison -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  unison-all
The following NEW packages will be installed:
  unison
0 upgraded, 1 newly installed, 0 to remove and 130 not upgraded.
Need to get 764 kB of archives.
After this operation, 2,024 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ stable/main unison amd64 2.40.102-2 [764 kB]
Fetched 764 kB in 9s (80.6 kB/s)                                               
Selecting previously unselected package unison.
(Reading database ... 136779 files and directories currently installed.)
Preparing to unpack .../unison_2.40.102-2_amd64.deb ...
Unpacking unison (2.40.102-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up unison (2.40.102-2) ...
update-alternatives: using /usr/bin/unison-latest-stable to provide /usr/bin/unison (unison) in auto mode

The installation of unison package is successfully completed.

For using unison or get to know of the options, enter unison-help.

root@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
 -ignore xxx        add a pattern to the ignore list
 -ignorenot xxx     add a pattern to the ignorenot list
 -nocreation xxx    prevent file creations on one replica
 -nodeletion xxx    prevent file deletions on one replica
.
.
.
-sortnewfirst      list new before changed files
 -sshargs xxx       other arguments (if any) for remote shell command
 -sshcmd xxx        path to the ssh executable
 -stream            use a streaming protocol for transferring file contents (default true)
 -ui xxx            select UI (' text'  or ' graphic' )  command-line only
 -unicode xxx       assume Unicode encoding in case insensitive mode
 -xferbycopying     optimize transfers using local copies (default true)

For removing Unison from Debian machine, enter apt-get remove unison-y.

root@linuxhelp:~# apt-get remove unison -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  unison
0 upgraded, 0 newly installed, 1 to remove and 130 not upgraded.
After this operation, 2,024 kB disk space will be freed.
(Reading database ... 136795 files and directories currently installed.)
Removing unison (2.40.102-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Tag : debian Unison
FAQ
Q
How to removing Unison from the Debian machine?
A
For removing Unison from Debian machine, enter apt-get remove unison:
# apt-get remove unison
Q
How does Unison work from my members' perspective?
A
When you invite your members to your group, they'll receive a welcome email that contains a link to your group's board, and they'll start receiving emails whenever you create cards. There is no action required on their part to join your group and start receiving emails.
Once they've completed their registration or logged in, they'll be able to leave comments on your group's board, complete action items, access your group's calendar view, map view, and more.
Q
How long has Unison been around?
A
Unison has been in private beta testing since July 2017, which means it is a very young product and it is growing and changing quickly! At Rotunda Software we've been making people management software since 2005, and we serve over 3,000 organizations. We're taking all we've learned from that experience and applying it to Unison, and we are just getting started!
Q
How secure is Unison?
A
The members of each group are completely private to that group. Unison is ad-free, and we will never sell your personal information, nor information about your group members. See our full Privacy Policy for more details.
Q
Why do text messages come from a number I don't recognize?
A
The phone number used for text messages is keyed to your group, as opposed to an individual. Each group has a unique phone number.