Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install pdftk on Mac OS X [closed]

Tags:

macos

pdftk

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 
like image 891
user3061922 Avatar asked Dec 27 '13 16:12

user3061922


People also ask

How do I use PDFtk on Mac?

Apple Mac OS XAfter installation, open a Terminal, type pdftk and press Return. Pdftk will respond by displaying brief usage information. Access pdftk documenation by running man pdftk . This installer creates a directory on you Mac: /opt/pdflabs/pdftk/ .

Is PDFtk free?

PDFtk Free is our friendly graphical tool for quickly merging and splitting PDF documents and pages. It is free to use for as long as you like.


2 Answers

From quantiverge PR on brew:

brew install https://raw.github.com/quantiverge/homebrew-binary/pdftk/pdftk.rb 
like image 54
Dorian Avatar answered Nov 15 '22 23:11

Dorian


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

like image 21
bdesham Avatar answered Nov 16 '22 00:11

bdesham