INSTALL.Ubuntu.txt 2.6 KB

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