Search code examples
macospdftk

How to install pdftk on Mac OS X


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

Solution

  • You can use the official installer from PDF Labs.

    Edit: It’s now available through homebrew-cask too. If you have that installed, you can just run

    brew cask install pdftk
    

    to install pdftk.

    There is no longer a Cask package available, so you will have to defer to the original solution or follow this workaround