pdftk on RedHat Enterprise Linux 7 (RHEL7)

I use pdftk in order to split PDFs into individual files for each page. I recently moved a server to RHEL7 and was kind of disappointed that I couldn’t find it via yum. I tried finding an RPM, I tried an RPM from a previous version, I tried to build from a source RPM, I tried to build from the source, no luck. As with most things I suppose I could keep beating my head against the wall and blow a bunch of time to figure it out, but why bother?

It turns out the ImageMagick’s convert command will split a PDF into individual pages. ImageMagick is easily installable via yum. I don’t believe I’ve seen many Linux systems without it. It also has Window binaries.

Here is the command:

convert -quality 100 -density 200x200 PDF-IN PAGES


Leave a Reply

Your email address will not be published. Required fields are marked *