Compile and install the UNISON File Synchronizer

This article describes the quik and dirty way to install the Unison File Sychronizer

Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

Copyright 1998-2008, Benjamin C. Pierce

 

System Description:

Systemrequirements:

Install the follwing packages on  openSuSE

  • zypper install ctags gcc ocaml make

  • On other systems be sure this packages are all installed.
  • Now we start with the Installation:

    Download and install "OCAML-Compiler" only on Systems where ocaml is NOT installed!

    $>wget http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz
    $>tar xzvf ocaml-3.12.0.tar.gz
    $>cd ocaml-3.12.0
    $>./configure -prefix /usr
    $>make world opt
    $>make install

    Now download and install the "UNISON File Synchronizer".

    $>wget http://www.seas.upenn.edu/~bcpierce/unison//download/releases/stable/unison-2.40.61.tar.gz
    $>tar xzvf unison-2.40.61.tar.gz
    $>cd unison-2.40.61
    $>type "``make UISTYLE=text."
    $>make
    $>chmod 0755 unison
    $>cp -Rp unison /usr/bin/ #be sure it is 0755
    $>type "unison -version" #to see the right version is installed.(version 2.40.61)

    $>that's it :)