diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0615005e..57d1b6d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,12 +71,6 @@ jobs: unpaper \ zlib1g - - name: Install Ubuntu 18.04 packages - if: matrix.os == 'ubuntu-18.04' - run: | - sudo apt-get install -y --no-install-recommends \ - libexempi3 - - name: Install Ubuntu 20.04 packages if: matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-latest' run: | diff --git a/docs/installation.rst b/docs/installation.rst index a352ac6b..07c25abd 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -44,7 +44,7 @@ install, or install a more recent version than your platform provides, read on. Installing on Linux =================== -Debian and Ubuntu 18.04 or newer +Debian and Ubuntu 20.04 or newer -------------------------------- .. |deb-11| image:: https://repology.org/badge/version-for-repo/debian_11/ocrmypdf.svg @@ -56,9 +56,6 @@ Debian and Ubuntu 18.04 or newer .. |deb-unstable| image:: https://repology.org/badge/version-for-repo/debian_unstable/ocrmypdf.svg :alt: Debian unstable -.. |ubu-1804| image:: https://repology.org/badge/version-for-repo/ubuntu_18_04/ocrmypdf.svg - :alt: Ubuntu 18.04 LTS - .. |ubu-2004| image:: https://repology.org/badge/version-for-repo/ubuntu_20_04/ocrmypdf.svg :alt: Ubuntu 20.04 LTS @@ -72,7 +69,7 @@ Debian and Ubuntu 18.04 or newer +-----------------------------------------------+ | |deb-11| |deb-12| |deb-unstable| | +-----------------------------------------------+ -| |ubu-1804| |ubu-2004| |ubu-2204| | +| |ubu-2004| |ubu-2204| | +-----------------------------------------------+ Users of Debian 9 ("stretch") or later, or Ubuntu 18.04 or later, including users @@ -80,7 +77,7 @@ of Windows Subsystem for Linux, may simply .. code-block:: bash - apt-get install ocrmypdf + apt install ocrmypdf As indicated in the table above, Debian and Ubuntu releases may lag behind the latest version. If the version available for your platform is @@ -198,46 +195,6 @@ To install for the current user only: To add JBIG2 encoding, see :ref:`jbig2`. -Ubuntu 18.04 LTS ----------------- - -Ubuntu 18.04 includes ocrmypdf 6.1.2 - you can install that with ``apt``, but -it is quite old now. To install a more recent version, uninstall the old version -of ocrmypdf, and install the following dependencies: - -.. code-block:: bash - - sudo apt-get -y remove ocrmypdf - sudo apt-get -y update - sudo apt-get -y install \ - ghostscript \ - icc-profiles-free \ - libxml2 \ - pngquant \ - python3-distutils \ - python3-pkg-resources \ - python3-reportlab \ - qpdf \ - tesseract-ocr \ - zlib1g \ - unpaper - -We will need a newer version of ``pip`` then was available for Ubuntu 18.04: - -.. code-block:: bash - - wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py - -Then install the most recent ocrmypdf 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 - python3 -m pip install --user ocrmypdf - -To add JBIG2 encoding, see :ref:`jbig2`. - Arch Linux (AUR) ----------------