Installing pdftk in CentOS 5.3

I was recently debugging a site locally, and realized I didn’t have the fabulous pdftk installed. So I tried my basic yum command, but it failed, as the program is not in the standard repo.

Fortunately, I found the following web page with an RPM available:

AccessPDF for CentOS by Chris Schuld

Once I downloaded that, as root, I did the following (as root):

yum install libgcj
rpm -ivh pdftk-112-1i386.rpm

Once that was all done, I was able to run the program from `/usr/bin/pdftk`.


Posted in Linux Tagged with: ,