Install pdftk from sources in Linux RedHat

Yesterday I talked about pdftk and how to modify pdf metadata using this software.

Well, today I’ll show you how to install this great tool in your Redhat systems. In my case, I am using:

$ uname -r
2.6.18-164.9.1.el5

This are the steps I followed:

  • Download the last version available:
    wget http://www.pdfhacks.com/pdftk/pdftk-1.41.tar.gz
  • Extract the tar contents:
    tar -xzvf pdftk-1.41.tar.gz
  • Now change to that directory, check your corresponding Makefile’s variables (TOOLPATH, VERSUFF which in my case are empty) and then proceed to compile:
    cd pdftk-1.41/pdftk
    make -f Makefile.RedHat
    strip pdftk

    Note the last strip command? It is done to reduce the resulting filesize ;)

  • Last step, complete the installation (as root):
    make -f Makefile.RedHat install

Now you can use pdftk ;)

Related posts:

  1. pdftk: tildes y caracteres especiales en metadatos de pdf
  2. Extract / modify PDF metadata (using pdftk)
  3. Configure php-imap redhat [solved]
  4. Instalación y configuración vufind en RedHat EL5 + Apache 2.2.16 + PHP 5.2.14

One Response to “Install pdftk from sources in Linux RedHat”

Leave a Reply

Paypal donate

Please help me keep this blog up by donating.

Por favor, ayúdame a continuar con el blog donando.