From 811f23381a298b64981eeb574807606d7f964ae7 Mon Sep 17 00:00:00 2001 From: Fonic <14027079+fonic@users.noreply.github.com> Date: Sun, 13 Aug 2023 10:21:14 +0200 Subject: [PATCH] Add installation instructions for Gentoo Linux to README.md (#1134) * Add installation instructions for Gentoo Linux to README.md * Correct installation instructions for macOS (nix) in README.md * Move installation instructions for Gentoo Linux from README.md to docs/installation.rst --------- Co-authored-by: Fonic <5cx5jbnmt@mozmail.com> --- README.md | 2 +- docs/installation.rst | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9546fb61..54eac522 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Linux, Windows, macOS and FreeBSD are supported. Docker images are also availabl | Windows Subsystem for Linux | ``apt install ocrmypdf`` | | Fedora | ``dnf install ocrmypdf`` | | macOS (Homebrew) | ``brew install ocrmypdf`` | -| macOS (nix) | ``nix-env -i ocrmypdf`` | +| macOS (nix) | ``nix-env -i ocrmypdf`` | | LinuxBrew | ``brew install ocrmypdf`` | | FreeBSD | ``pkg install py-ocrmypdf`` | | Conda | ``conda install ocrmypdf`` | diff --git a/docs/installation.rst b/docs/installation.rst index fe1a09e0..24c14e29 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -275,6 +275,21 @@ To install OCRmyPDF for Alpine Linux: apk add ocrmypdf +Gentoo Linux +------------ + +.. image:: https://repology.org/badge/version-for-repo/gentoo_ovl_guru/ocrmypdf.svg + :alt: Gentoo Linux + :target: https://repology.org/metapackage/ocrmypdf + +To install OCRmyPDF on Gentoo Linux, use the following commands: + +.. code-block:: bash + + eselect repository enable guru + emaint sync --repo guru + emerge --ask app-text/OCRmyPDF + Other Linux packages --------------------