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
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/ .
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.
From quantiverge
PR on brew:
brew install https://raw.github.com/quantiverge/homebrew-binary/pdftk/pdftk.rb
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With