New comment by gch1p on void-packages repository https://github.com/void-linux/void-packages/issues/17500#issuecomment-2065588915 Comment: I'd recommend to install `python3-pipx`, and then `pipx install ocrmypdf`. But in order to install `ocrmypdf` with `pipx`, you will also need following dependencies: `libheif-devel`, `python3-devel`, `ghostscript`, `libqpdf-devel` and of course `tesseract-ocr` along with language packages you need. Then just make sure that `$HOME/.local/bin` is in your `$PATH` and use ocrmypdf!