Pdftk Admin

Notes

  1. The install depends on gcjh being available. On lethe, I needed to install:
    
    % sudo yum install java-1.4.2-gcj-compat-devel
    
    

Installation

  1. Download the latest pdftk-X.YZ-src.zip (below).
  2. Save it to lethe:/src/util and change directory to that directory.
  3. Unzip the zipfile.
  4. Change directory to /src/util/pdftk-X.YZ-dist/pdftk/
  5. Edit Makefile.Base by changing:
    
    install:
            /usr/bin/install pdftk /usr/local/bin
    
    

    to:

    
    install:
            /usr/bin/install pdftk /util/bin/pdftk
    
    
  6. Compile:
    
    % make -f Makefile.Redhat
    
    
  7. Install:
    
    # make -f Makefile.Redhat install
    
    

References

  1. http://www.pdflabs.com/docs/build-pdftk/
  2. http://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos