poppler

PDF rendering library with command-line tools for PDF manipulation

brewmacoslinux
Try with needOr install directly
Source

About

PDF rendering library (based on the xpdf-3.0 code base)

Commands

pdftotextpdftoppmpdftopspdftohtmlpdfinfopdfimagespdfseparatepdfunitepdftocairo

Examples

Extract text content from a PDF file$ pdftotext document.pdf output.txt
Convert PDF pages to PNG images$ pdftoppm input.pdf output -png
Display information about a PDF file$ pdfinfo document.pdf