I updated the PDF Booklet project and removed Python 2 dependencies so that it will run under Ubuntu 22.04.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
5.1 KiB

2 years ago
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <meta name="Generator" content="Atlantis Word Processor 2.0.5.1, http://www.AtlantisWordProcessor.com"><title>Important Note for Linux users</title>
  5. <style>p{margin-top:0pt;margin-bottom:0pt;font-family:Arial;font-size:11pt;color:black}</style></head><body bgcolor="#ffffca">
  6. <p style="margin-top: 12pt; margin-bottom: 3pt;"><span style="font-size: 14pt; color: blue;"><b>Important Note for Linux users</b></span></p>
  7. <p style="font-weight: bold; color: rgb(204, 0, 0);">You will find the
  8. last version of Linux installers in the beta directory. <br>
  9. </p>
  10. <p style="font-weight: bold; color: rgb(204, 0, 0);">pdfbooklet_3.0.6_all.deb hs been tested and seems OK. <br>
  11. </p>
  12. <p style="font-weight: bold; color: rgb(204, 0, 0);">The .rpm installer has not been tested. <br>
  13. </p>
  14. <p style="font-weight: bold; color: rgb(204, 0, 0);">For the tar.gz files, see the dependencies below. <br>
  15. <br>
  16. </p>
  17. <p><br>
  18. </p>
  19. <p>PdfBooklet is developed originally in Windows and for Windows.
  20. Nevertheless it works perfectly on Linux, we have made the code
  21. compatible. It runs in Python 2.7 or 3.4.</p>
  22. <p><br>
  23. </p>
  24. <p><b>1) Installation</b></p>
  25. <p>You sould normally use the <span style="font-weight: bold;">.deb file</span> which should work out of the box.<br>
  26. The <span style="font-weight: bold;">.rpm</span> file is not yet tested, and the dependencies are not properly set. <br>
  27. </p>
  28. <p><span style="color: rgb(0, 0, 0);">&nbsp;</span> <br>
  29. </p><span style="color: rgb(0, 0, 0);"></span>
  30. <p>In case these installers do not work for you, we are providing other solutions.&nbsp; </p>
  31. <p style="margin-top: 12pt; margin-bottom: 3pt; margin-left: 40px;"><b>a) Install from source</b></p>
  32. <p style="margin-left: 40px;">Decompress the file : <i>Install by unzipping – linux.zip </i>in a directory where you have full write rights. Run pdfbooklet.py with the following command :</p>
  33. <p style="margin-left: 40px;"><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  34. <p style="margin-left: 40px;"><span style="font-family: Courier New;">python pdfbooklet.py</span></p>
  35. <p style="margin-left: 40px;">or<span style="font-family: Courier New;"> </span></p>
  36. <p style="margin-left: 40px;"><span style="font-family: Courier New;">python3 pdfbooklet.py</span></p>
  37. <p style="margin-left: 40px;"><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  38. <p style="margin-left: 40px;">If you have the dependencies satisfied, the program should run. If
  39. not, either install the missing packages, if you know how to do that,
  40. or use the second solution :</p>
  41. <p style="margin-left: 40px;"><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  42. <p style="margin-top: 12pt; margin-bottom: 3pt; margin-left: 40px;"><b>b) Install the pyinstaller bundle</b></p>
  43. <p style="margin-left: 40px;">To solve the dependencies problem, we have built a bundle with
  44. pyinstaller, which contains everything needed : Python3, Gtk3, Poppler.
  45. </p>
  46. <p style="margin-left: 40px;">Unzip the big file : pdfbooklet 3.x.x pyinstaller.zip, in a directory where you have write rights. </p>
  47. <p style="margin-left: 40px;">Run the file : pdfbooklet</p>
  48. <p style="margin-top: 12pt; margin-bottom: 3pt; margin-left: 40px;"><b>c) Install from tarball</b></p>
  49. <p style="margin-left: 40px;">We offer also the tarballs in 32 and 64 bits if you know how to install them. </p>
  50. <p style="margin-top: 12pt; margin-bottom: 3pt;"><span style="font-size: 12pt; color: rgb(0, 0, 0);"><b><i>2) Known problems<br>
  51. </i></b></span></p>
  52. <ol>
  53. <li style="font-family: monospace;">
  54. <p>Dependencies problems : see below the modules which must be installed. Otherwise consider using the pyinstaller bundle. </p>
  55. </li>
  56. <li>
  57. <p>pdfbooklet needs read/write rights in the forder where
  58. pdfbooklet.cfg is located and the installer does not always provides
  59. this. <span style="font-size: 12pt; color: rgb(0, 0, 0);"><b><i><br>
  60. </i></b></span></p>
  61. </li>
  62. </ol>
  63. <p style="margin-top: 9pt; margin-bottom: 3pt;"><span style="font-size: 12pt;"><b><i>Technical information </i></b></span></p>
  64. <p><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  65. <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The needed dependencies for python3 are :<br>
  66. &nbsp;python-gi<br>
  67. &nbsp;python-gi-cairo<br>
  68. </p>
  69. <p>&nbsp;python3-gi<br>
  70. <span style="color: rgb(0, 0, 0);">&nbsp;python3-cairo</span><br>
  71. </p>
  72. <p>&nbsp;python3-gi-cairo</p>
  73. <p>&nbsp;gir1.2-gtk-3.0</p>
  74. <p>&nbsp;gir1.2-poppler-0.18<br>
  75. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; They are installed with the following commande line :<br>
  76. </p>
  77. <p>&nbsp;- sudo apt-get install&nbsp; python-gi&nbsp; python-gi-cairo python3-gi <span style="color: rgb(0, 0, 0);">python3-cairo&nbsp; </span>python3-gi-cairo&nbsp; gir1.2-gtk-3.0&nbsp; gir1.2-poppler-0.18 </p>
  78. <p><br>
  79. </p>
  80. <p><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  81. <p>For python 2.7 :</p>
  82. <p>- sudo apt-get install&nbsp; python-gobject-cairo</p>
  83. <p><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  84. <p><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  85. <p><span style="color: rgb(0, 0, 0);">&nbsp;</span></p>
  86. </body></html>