Technology Cares

Not Just another weblog

Posts Tagged ‘backup’

Unison to sync your computer to remote computer

Posted by Manish on October 14, 2010

Just type apt-get install unison
If you need to a particular version, or build from the source follow following steps.
1. Download Unison from http://www.cis.upenn.edu/~bcpierce/unison.
2. Download Objective Caml compiler (version 3.07 or later), which is available from http://caml.inria.fr
3. Build and install OCaml
4. Once you’ve got OCaml installed, unzip and untar Unison, change to the new unison directory, and type “make UISTYLE=text.” The result should be an executable file called unison.
5. Copy it to /usr/local/bin

***If you want to build the graphical user interface, you will need to install two additional things:
* The Gtk2 libraries. These areavailable from http://www.gtk.org and are standard on many Unix installations.
* The lablgtk2 OCaml library. Grab the developers’ tarball from
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html,
untar it, and follow the instructions to build and install it.
(Quick start: make configure, then make, then make opt, then su and make install.)
Now build unison. If your search paths are set up correctly, simply typing make again should build a unison executable with a Gtk2 graphical interface. (In previous releases of Unison, it was necessary to add UISTYLE=gtk2 to the ‘make’ command above.

6. Follow following url for details on local usage and remote usage
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html

Posted in Uncategorized | Tagged: , , , | Leave a Comment »