How to Install and Uninstall ocrmypdf Package on Debian 12 (Bookworm)

Last updated: May 15,2024

1. Install "ocrmypdf" package

Please follow the steps below to install ocrmypdf on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ocrmypdf

2. Uninstall "ocrmypdf" package

Here is a brief guide to show you how to uninstall ocrmypdf on Debian 12 (Bookworm):

$ sudo apt remove ocrmypdf $ sudo apt autoclean && sudo apt autoremove

3. Information about the ocrmypdf package on Debian 12 (Bookworm)

Package: ocrmypdf
Version: 14.0.1+dfsg1-1
Installed-Size: 555
Maintainer: Debian Python Team
Architecture: all
Depends: ghostscript (>= 9.18~dfsg~), icc-profiles-free, python3-pdfminer (>= 20181108+dfsg-3), python3-pil, python3-pkg-resources, python3-reportlab, python3-pikepdf (>= 5.0.1), python3-pluggy, python3-coloredlogs, tesseract-ocr (>= 4.0.0), zlib1g, python3-deprecation, python3-img2pdf (>= 0.3.0), python3-importlib-resources | python3 (>> 3.9), python3-packaging, python3-tqdm, python3-typing-extensions | python3 (>> 3.10), python3:any
Recommends: unpaper, pngquant
Suggests: ocrmypdf-doc, python-watchdog, img2pdf
Description: add an OCR text layer to PDF files
Description-md5: 92e84e27a8b71a2a3c36765dc4aab039
Homepage: https://github.com/jbarlow83/OCRmyPDF
Section: graphics
Priority: optional
Filename: pool/main/o/ocrmypdf/ocrmypdf_14.0.1+dfsg1-1_all.deb
Size: 151612
MD5sum: b4ec9559a32c60ef70920e54665e2345
SHA256: 82dc50d6f0c48a0b9fe8d3e73d001545f0be4a4aefb5883f7ff699039fc9d784