Install the required pdftotext binary
mainThis package requires the pdftotext binary (part of poppler-utils) to be installed on your system. Use the command corresponding to your operating system:
- Ubuntu/Debian:
apt-get install poppler-utils - macOS:
brew install poppler - RedHat/CentOS/Rocky Linux/Fedora:
yum install poppler-utils - Windows: Download Xpdf command line tools and ensure the path to
pdftotext.exeis accessible (e.g.,C:\Program Files\xpdf-tools-win\bin64\pdftotext.exe).
You can verify the installation by running which pdftotext in your terminal.
which pdftotext