From 98a0786c320217ca7bc2d3f43adf2738727ac9a2 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 3 May 2018 13:55:16 -0700 Subject: [PATCH] Add 18.04 update procedure --- docs/installation.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index c46b660c..8efaac2e 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -208,6 +208,26 @@ The command line program should now be available: ocrmypdf --help +Installing the latest version on Ubuntu 18.04 LTS +------------------------------------------------- + +Ubuntu 18.04 includes ocrmypdf 6.1.2. To install a more recent version, first +install the system version to get all the dependencies: + +.. code-block:: bash + + sudo apt-get update + sudo apt-get install \ + ocrmypdf \ + python3-pip + +Then install ocrmypdf 6.1.5 for the local user and set the user's ``PATH`` to check for the user's Python packages. + +.. code-block:: bash + + export PATH=$HOME/.local/bin:$PATH + pip3 install --user ocrmypdf[fitz] + Installing on Ubuntu 16.04 LTS ------------------------------