Skip to content

Instantly share code, notes, and snippets.

@plutocrat
Created January 17, 2018 02:41
Show Gist options
  • Save plutocrat/85a554428a6b131de55ca38243f22a6e to your computer and use it in GitHub Desktop.
Save plutocrat/85a554428a6b131de55ca38243f22a6e 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