#!/bin/cat # $Id: INSTALL.Debian.txt,v 1.6 2016/01/21 15:10:01 gilles Exp gilles $ There is one section for Debian 7 and one for Debian 6. ========================================== = Installing imapsync on Debian 7 Wheezy = ========================================== Here are the two commands to install imapsync dependencies. You need root priviledge to run them. The first command installs standard Debian packages: 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. =========================================== = Installing imapsync on Debian 6 Squeeze = =========================================== apt-get install \ 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 perl -MCPAN -e "install Data::Uniqid" perl -MCPAN -e "install Authen::NTLM" perl -MCPAN -e "install Mail::IMAPClient" The Perl module Mail::IMAPClient is good to be recent and installed manually. 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.