Install Unison on the BackupPC server
- Download unison from
http://www.seas.upenn.edu/~bcpierce/unison//download/releases/unison-2.13.16/unison-2.13.16.tar.gz. Store the source in /opt.
- Building Unison requires the Objective Caml compiler (3.04+).
# aptitude install ocaml
- Build the software
# umask 022
# cd /opt
# mkdir build
# cd build
# tar -zxvpf /opt/unison-2.13.16.tar.gz
# cd unison-2.13.16
# make UISTYLE=text
- Once the build finishes
# ./unison -version <--This should show "unison version 2.13.16"
# mkdir -p /opt/pkg/unison-2.13.16/bin
# cp ./unison /opt/pkg/unison-2.13.16/bin/unison
# chmod a+rx /opt/pkg/unison-2.13.16/bin/unison
# cd /opt
# ln -s pkg/unison-2.13.16 unison
NOTE: If you install unison so that it is not available at /opt/unison/bin/unison you must edit C:\unison\bin\sshwrapper.bat in the client scripts to reflect your location.