From 9c1e5adfe61c22bf1259bb685bc2ee91756cb8bd Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 6 Dec 2021 12:59:13 -0800 Subject: [PATCH] docs: remove Ubuntu 16.04 install instructions It's EOL. --- docs/installation.rst | 63 ------------------------------------------- 1 file changed, 63 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 32658d57..00fb675e 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -211,69 +211,6 @@ user's ``PATH`` to check for the user's Python packages. To add JBIG2 encoding, see :ref:`jbig2`. -Ubuntu 16.04 LTS ----------------- - -No package is available for Ubuntu 16.04. OCRmyPDF 8.0 and newer require -Python 3.7. Ubuntu 16.04 ships Python 3.5, but you can install Python -3.7 on it. Or, you can skip Python 3.7 and install OCRmyPDF 7.x or older -- for that procedure, please see the installation documentation for the -version of OCRmyPDF you plan to use. - -**Install system packages for OCRmyPDF** - -.. code-block:: bash - - sudo apt-get update - sudo apt-get install -y software-properties-common python-software-properties - sudo add-apt-repository -y \ - ppa:jonathonf/python-3.7 \ - ppa:alex-p/tesseract-ocr - sudo apt-get update - sudo apt-get install -y \ - ghostscript \ - libexempi3 \ - libffi6 \ - pngquant \ - python3.7 \ - qpdf \ - tesseract-ocr \ - unpaper - -This will install a Python 3.7 binary at ``/usr/bin/python3.7`` -alongside the system's Python 3.5. Do not remove the system Python. This -will also install Tesseract 4.0 from a PPA, since the version available -in Ubuntu 16.04 is too old for OCRmyPDF. - -Now install pip for Python 3.7. This will install the Python 3.7 version -of ``pip`` at ``/usr/local/bin/pip``. - -.. code-block:: bash - - curl https://bootstrap.pypa.io/get-pip.py | sudo python3.7 - -**Install OCRmyPDF** - -OCRmyPDF requires the locale to be set for UTF-8. **On some minimal -Ubuntu installations**, such as the Ubuntu 16.04 Docker images it may be -necessary to set the locale. - -.. code-block:: bash - - # Optional: Only need to set these if they are not already set - export LC_ALL=C.UTF-8 - export LANG=C.UTF-8 - -Now install OCRmyPDF for the current user, and ensure that the ``PATH`` -environment variable contains ``$HOME/.local/bin``. - -.. code-block:: bash - - export PATH=$HOME/.local/bin:$PATH - pip3.7 install --user ocrmypdf - -To add JBIG2 encoding, see :ref:`jbig2`. - Arch Linux (AUR) ----------------