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

100 lines
2.6 KiB
Plaintext
Raw Normal View History

2015-12-03 18:16:32 +01:00
#!/bin/cat
2022-02-15 19:29:45 +01:00
# $Id: INSTALL.Ubuntu.txt,v 1.18 2021/07/30 15:06:43 gilles Exp gilles $
2015-05-28 19:04:57 +02:00
2019-07-03 01:17:46 +02:00
This documentation is also located online at
https://imapsync.lamiral.info/INSTALL.d/
https://imapsync.lamiral.info/INSTALL.d/INSTALL.Ubuntu.txt
=======================================================================
Installing imapsync on Ubuntu 16.04 or higher
=======================================================================
2015-05-28 19:04:57 +02:00
2017-09-23 23:54:48 +02:00
Here is the command to install imapsync dependencies,
you need root privilege to run them.
2015-05-28 19:04:57 +02:00
2017-09-23 23:54:48 +02:00
This command installs standard Ubuntu packages:
2015-05-28 19:04:57 +02:00
2019-07-03 01:17:46 +02:00
sudo apt-get install \
libauthen-ntlm-perl \
libclass-load-perl \
libcrypt-ssleay-perl \
libdata-uniqid-perl \
libdigest-hmac-perl \
2017-09-23 23:54:48 +02:00
libdist-checkconflicts-perl \
2020-04-11 01:15:57 +02:00
libencode-imaputf7-perl \
2015-05-28 19:04:57 +02:00
libfile-copy-recursive-perl \
2020-04-11 01:15:57 +02:00
libfile-tail-perl \
2017-09-23 23:54:48 +02:00
libio-compress-perl \
2015-05-28 19:04:57 +02:00
libio-socket-inet6-perl \
2017-09-23 23:54:48 +02:00
libio-socket-ssl-perl \
libio-tee-perl \
libmail-imapclient-perl \
2015-05-28 19:04:57 +02:00
libmodule-scandeps-perl \
2019-07-03 01:17:46 +02:00
libnet-dbus-perl \
2015-05-28 19:04:57 +02:00
libnet-ssleay-perl \
2017-09-23 23:54:48 +02:00
libpar-packer-perl \
libreadonly-perl \
2018-05-07 16:04:23 +02:00
libregexp-common-perl \
2017-09-23 23:54:48 +02:00
libsys-meminfo-perl \
libterm-readkey-perl \
libtest-fatal-perl \
libtest-mock-guard-perl \
2019-07-03 01:17:46 +02:00
libtest-mockobject-perl \
2017-09-23 23:54:48 +02:00
libtest-pod-perl \
libtest-requires-perl \
2015-05-28 19:04:57 +02:00
libtest-simple-perl \
2017-09-23 23:54:48 +02:00
libunicode-string-perl \
liburi-perl \
2018-05-07 16:04:23 +02:00
libtest-nowarnings-perl \
libtest-deep-perl \
libtest-warn-perl \
2017-09-23 23:54:48 +02:00
make \
2022-02-15 19:29:45 +01:00
time \
2016-01-22 17:52:28 +01:00
cpanminus
2017-09-23 23:54:48 +02:00
In case you want to update the Perl module
Mail::IMAPClient, a major module for imapsync,
the following command installs it "manually":
sudo cpanm Mail::IMAPClient
In case you need to use XOAUTH2 authentication you have to install
the module JSON::WebToken with the command:
2016-01-22 17:52:28 +01:00
2017-09-23 23:54:48 +02:00
sudo cpanm JSON::WebToken
2016-01-22 17:52:28 +01:00
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.
2019-07-03 01:17:46 +02:00
=======================================================================
=======================================================================