Pdfgrep

grep functionality with pdf files

https://pdfgrep.org/

tarball with C code
unzip => pdfgrep-2.1.2/ dir source code
/mnt/data/install/pdfgrep-2.1.2/
you need to build it yourself

to build pdfgrep, use the standard procedure:
./configure
make
sudo make install

geen ervaring momenteel met make =>
workarround :

pdftotext my.pdf - | grep 'pattern'

pdftotext : miserie
maar python based pdf2text werkt prima :
sudo apt install python3-pdfminer