How to install pdftk on Mac OS X

user3061922 picture user3061922 · Dec 27, 2013 · Viewed 79k times · Source

I want to install pdftk with MacPorts, but this command does not work:

 sudo apt-get install pdftk

Is it possible to install it on a Mac?

My system specifications are:

Processor: 2.5 GHz Intel Core i5
Memory:    8 GB 1600 MHz DDR3
Graphics:  Intel HD Graphics 4000 768 MB

Answer

Dorian picture Dorian · Feb 26, 2014

From quantiverge PR on brew:

brew install https://raw.github.com/quantiverge/homebrew-binary/pdftk/pdftk.rb