1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/INSTALL.d/INSTALL.Ubuntu.txt

72 lines
1.7 KiB
Plaintext
Raw Normal View History

2015-12-03 18:16:32 +01:00
#!/bin/cat
2016-01-22 17:52:28 +01:00
# $Id: INSTALL.Ubuntu.txt,v 1.5 2016/01/21 15:10:01 gilles Exp gilles $
2015-05-28 19:04:57 +02:00
2016-01-22 17:52:28 +01:00
=================================================
= Installing imapsync on Ubuntu 12.04 or higher =
=================================================
2015-05-28 19:04:57 +02:00
2016-01-22 17:52:28 +01:00
Here are the two commands to install imapsync dependencies.
You need root priviledge to run them.
The first command installs standard Ubuntu packages:
2015-05-28 19:04:57 +02:00
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 \
2016-01-22 17:52:28 +01:00
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
2015-05-28 19:04:57 +02:00
2016-01-22 17:52:28 +01:00
Go into the directory imapsync-1.xxx
2015-05-28 19:04:57 +02:00
2016-01-22 17:52:28 +01:00
cd imapsync-1.xxx
A dependencies test that shows also the basic example:
2015-05-28 19:04:57 +02:00
./imapsync
2016-01-22 17:52:28 +01:00
A live test showing imapsync job:
./imapsync --testslive
Now the install command (need root priviledges again):
2015-05-28 19:04:57 +02:00
2016-01-22 17:52:28 +01:00
cp imapsync /usr/bin/
2015-05-28 19:04:57 +02:00
That's finished for the installation part.
You can use imapsync.
2016-01-22 17:52:28 +01:00
Now go to read http://imapsync.lamiral.info/#doc
start with the tutorial.