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):

wget http://chrisschuld.com/wp-content/uploads/2008/05/pdftk-112-1i386.rpm
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`.

HTH!

Comments

comments

Posted in Linux Tagged with: ,