Installing imapsync on Ubuntu

Installing imapsync on Ubuntu 24.04

(1) Update and install dependencies

apt update && apt install -y libtest-simple-perl libtest-requires-perl libtest-mock-guard-perl libtest-fatal-perl libpar-packer-perl libnet-ssleay-perl libio-compress-perl libdigest-hmac-perl libcrypt-ssleay-perl libssl-dev libauthen-ntlm-perl libclass-load-perl libcgi-pm-perl libcrypt-openssl-rsa-perl libdata-uniqid-perl libencode-imaputf7-perl libfile-copy-recursive-perl libfile-tail-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libhtml-parser-perl libjson-webtoken-perl libmail-imapclient-perl libparse-recdescent-perl libmodule-scandeps-perl libreadonly-perl libregexp-common-perl libsys-meminfo-perl libterm-readkey-perl libtest-mockobject-perl libtest-pod-perl libunicode-string-perl liburi-perl libwww-perl libtest-nowarnings-perl libtest-deep-perl libtest-warn-perl make cpanminus git rcs gcc apt-file; apt-file update

(2) Install RSA cpanm modules

cpanm Crypt::OpenSSL::RSA Proc::ProcessTable Crypt::OpenSSL::Random –force

(3) Install IMAPClient cpanm modules

cpanm Mail::IMAPClient JSON::WebToken Test::MockObject Dist::CheckConflicts

(4) Install cpanm Unicode modules

cpanm Unicode::String Data::Uniqid –force

(5) Install last cpanm

cpanm Mail::IMAPClient Crypt::OpenSSL::PKCS12 IO::Socket::SSL JSON::WebToken JSON Crypt::OpenSSL::RSA LWP HTML::Entities Encode::Byte

(6) Get the latest Imapsync from GitHub

cd /opt && git clone https://github.com/imapsync/imapsync.git

(7) Goto /opt/imapsync and Make Install

cd imapsync && make install

(8) Copy Binary to binaries

cp imapsync /usr/bin/imapsync

(9) Last step : TEST

imapsync –testslive

 

This is the AUTHOR website : https://imapsync.lamiral.info/

This is the GitHub Page : https://github.com/imapsync/