TEXT   75
Installing imapsync on Ubuntu
Guest on 12th February 2023 10:32:52 AM


  1. Installing imapsync on Ubuntu 16.04 or higher
  2. =======================================================================
  3.  
  4. Here is  the command to install imapsync dependencies,
  5. you need root privilege to run them.
  6.  
  7. This command installs standard Ubuntu packages:
  8.  
  9.   sudo apt-get install  \
  10. libauthen-ntlm-perl     \
  11. libclass-load-perl      \
  12. libcrypt-ssleay-perl    \
  13. libdata-uniqid-perl     \
  14. libdigest-hmac-perl     \
  15. libdist-checkconflicts-perl \
  16. libencode-imaputf7-perl     \
  17. libfile-copy-recursive-perl \
  18. libfile-tail-perl       \
  19. libio-compress-perl     \
  20. libio-socket-inet6-perl \
  21. libio-socket-ssl-perl   \
  22. libio-tee-perl          \
  23. libmail-imapclient-perl \
  24. libmodule-scandeps-perl \
  25. libnet-dbus-perl        \
  26. libnet-ssleay-perl      \
  27. libpar-packer-perl      \
  28. libreadonly-perl        \
  29. libregexp-common-perl   \
  30. libsys-meminfo-perl     \
  31. libterm-readkey-perl    \
  32. libtest-fatal-perl      \
  33. libtest-mock-guard-perl \
  34. libtest-mockobject-perl \
  35. libtest-pod-perl        \
  36. libtest-requires-perl   \
  37. libtest-simple-perl     \
  38. libunicode-string-perl  \
  39. liburi-perl             \
  40. libtest-nowarnings-perl \
  41. libtest-deep-perl       \
  42. libtest-warn-perl       \
  43. make                    \
  44. cpanminus
  45.  
  46. In case you want to update the Perl module
  47. Mail::IMAPClient, a major module for imapsync,
  48. the following command installs it "manually":
  49.  
  50.   sudo cpanm Mail::IMAPClient
  51.  
  52. In case you need to use XOAUTH2 authentication you have to install  
  53. the module JSON::WebToken with the command:
  54.  
  55.   sudo cpanm JSON::WebToken
  56.  
  57. After installing the dependencies, imapsync should be working.
  58.  
  59. You don't have to be root to test and use imapsync.
  60. Take the compressed tarball called imapsync-1.xxx.tgz
  61. where 1.xxx is the version number.
  62. Untar the tarball where you want:
  63.  
  64.   cd
  65.   tar xzvf  imapsync-1.xxx.tgz
  66.  
  67. Go into the directory imapsync-1.xxx
  68.  
  69.   cd imapsync-1.xxx
  70.  
  71. A dependencies test that shows also the basic example:
  72.  
  73.   ./imapsync
  74.  
  75. A live test showing imapsync job:
  76.  
  77.   ./imapsync --testslive
  78.  
  79. Now the install command (need root priviledges again):
  80.  
  81.   cp imapsync /usr/bin/
  82.  
  83. That's finished for the installation part.
  84. You can use imapsync.

Raw Paste

Login or Register to edit or fork this paste. It's free.