Skip to content

Instantly share code, notes, and snippets.

@luizjr
Forked from plutocrat/install-imapsync.sh
Created May 10, 2018 13:37
Show Gist options
  • Save luizjr/ab86d9e389e3999e38b29cf1c2f98575 to your computer and use it in GitHub Desktop.
Save luizjr/ab86d9e389e3999e38b29cf1c2f98575 to your computer and use it in GitHub Desktop.
Install imapsync on Ubuntu 16.04
# Run these manually
# First install git and grab the imapsync code
apt install git
git clone https://github.com/imapsync/imapsync.git
# Install all dependencies
apt install automake build-essential libauthen-ntlm-perl libclass-load-perl libcrypt-openssl-rsa-perl libdata-uniqid-perl libdate-manip-perl libdigest-hmac-perl libdigest-md5-file-perl libdist-checkconflicts-perl libfile-copy-recursive-perl libio-tee-perl libjson-perl libmail-imapclient-perl libmodule-implementation-perl libmodule-runtime-perl libmodule-scandeps-perl libpackage-stash-perl libpackage-stash-xs-perl libpar-packer-perl libreadonly-perl libsys-meminfo-perl libterm-readkey-perl libtest-fatal-perl libtest-mock-guard-perl libtest-mockobject-perl libtest-pod-perl libtest-requires-perl libtry-tiny-perl libunicode-string-perl make makepasswd perl-doc rcs
# These ones didn't exist in my repos, so first try to install through apt
apt-get install libjson-webtoken-perl libjson-webtoken-crypt-rsa-perl
# If they don't install (not found) then install using PERL package manager
apt install cpanminus
cpanm "JSON::WebToken JSON::WebToken::Crypt::RSA"
# Now you can try installing imapsync
cd imapsync
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment