From 51b54893ceed111ca74d3db12c03ea12b5711a36 Mon Sep 17 00:00:00 2001 From: Peter Hogg Date: Mon, 4 May 2020 01:37:58 -0700 Subject: [PATCH] docs: update Arch Linux install instructions (#540) The python-pdfminer.six package is now available in the official Arch repositories. The dependency will be automatically resolved when installing the OCRmyPDF AUR package. --- docs/installation.rst | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 97eb4df5..78351748 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -327,20 +327,7 @@ standard tooling needed to build packages, such as a compiler and binary tools. sudo pacman -S base-devel -The OCRmyPDF package depends on `the python-pdfminer.six AUR package -`__. Dependencies on -AUR packages are not automatically resolved, so this package must be manually -installed first. - -.. code-block:: bash - - curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/python-pdfminer.six.tar.gz - tar xvzf python-pdfminer.six.tar.gz - cd python-pdfminer.six - makepkg -sri - -With that complete you can then repeat the same series of steps for the -OCRmyPDF package. +Now you are ready to install the OCRmyPDF package. .. code-block:: bash @@ -374,11 +361,10 @@ page. fine without it but will produce larger output files. The encoder is available from `the jbig2enc-git AUR package `__ and may be installed - using the same series of steps as for the installation of the pdfminer.six - and OCRmyPDF AUR packages. Alternatively, it may be built manually from - source following the instructions in `Installing the JBIG2 encoder - `__. If JBIG2 is installed, OCRmyPDF 7.0.0 and later will - automatically detect it. + using the same series of steps as for the installation OCRmyPDF AUR + package. Alternatively, it may be built manually from source following the + instructions in `Installing the JBIG2 encoder `__. If JBIG2 is + installed, OCRmyPDF 7.0.0 and later will automatically detect it. Alpine Linux ------------