#!/bin/cat # $Id: INSTALL.Ubuntu.txt,v 1.5 2016/01/21 15:10:01 gilles Exp gilles $ ================================================= = Installing imapsync on Ubuntu 12.04 or higher = ================================================= Here are the two commands to install imapsync dependencies. You need root priviledge to run them. The first command installs standard Ubuntu packages: sudo apt-get install \ libauthen-ntlm-perl \ libcrypt-ssleay-perl \ libdigest-hmac-perl \ libfile-copy-recursive-perl \ libio-compress-perl \ libio-socket-inet6-perl \ libio-socket-ssl-perl \ libio-tee-perl \ libmodule-scandeps-perl \ libnet-ssleay-perl \ libpar-packer-perl \ libterm-readkey-perl \ libtest-pod-perl \ libtest-simple-perl \ libunicode-string-perl \ liburi-perl \ cpanminus The second command installs "manually" the Perl module Data::Uniqid because Debian hasn't made it available via a package yet. It also install manually Perl module Mail::IMAPClient because it is good to be up to date: cpanm Data::Uniqid Mail::IMAPClient After installing the dependencies, imapsync should be working. You don't have to be root to test and use imapsync. Take the compressed tarball called imapsync-1.xxx.tgz where 1.xxx is the version number. Untar the tarball where you want: cd tar xzvf imapsync-1.xxx.tgz Go into the directory imapsync-1.xxx cd imapsync-1.xxx A dependencies test that shows also the basic example: ./imapsync A live test showing imapsync job: ./imapsync --testslive Now the install command (need root priviledges again): cp imapsync /usr/bin/ That's finished for the installation part. You can use imapsync. Now go to read http://imapsync.lamiral.info/#doc start with the tutorial.