From f15d9049ebf333778c6649f5a7ffa7903a23b37a Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 26 Jun 2020 23:28:26 -0700 Subject: [PATCH] install: add Mageia Closes #586. Thanks to @yannick56 --- docs/installation.rst | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 4195d51b..9a7541ea 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -21,6 +21,8 @@ These platforms have one-liner installs: +-----------------------------+-------------------------------+ | macOS | ``brew install ocrmypdf`` | +-----------------------------+-------------------------------+ +| LinuxBrew | ``brew install ocrmypdf`` | ++-----------------------------+-------------------------------+ | FreeBSD | ``pkg install py37-ocrmypdf`` | +-----------------------------+-------------------------------+ @@ -62,7 +64,7 @@ Debian and Ubuntu 18.04 or newer | |ubu-1804| |ubu-2004| | +-----------------------------------------------+ -Users of Debian 9 ("stretch") or later or Ubuntu 18.04 or later, including users +Users of Debian 9 ("stretch") or later, or Ubuntu 18.04 or later, including users of Windows Subsystem for Linux, may simply .. code-block:: bash @@ -349,6 +351,43 @@ To install OCRmyPDF for Alpine Linux: apk add ocrmypdf +Mageia 7 +-------- + +Install the following dependencies: + +.. code-block:: bash + + # As root user + urpmi.update -a + urpmi \ + ghostscript \ + icc-profiles-openicc \ + jbig2dec \ + lib64leptonica5 \ + pngquant \ + python3-pip \ + python3-cffi \ + python3-distutils-extra \ + python3-pkg-resources \ + python3-reportlab \ + qpdf \ + tesseract \ + tesseract-osd \ + tesseract-eng \ + tesseract-fra + +To install ocrmypdf for the system: + + # As root user + pip3 install ocrmypdf + ldconfig + +Or, to install for the current user only: + + export PATH=$HOME/.local/bin:$PATH + pip3 install --user ocrmypdf + Other Linux packages --------------------