Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install PDFTK

📅 2019-Feb-10 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

PDFTK is a tool that can be used to split and merge PDF files. It is available for both Linux and Windows.

Windows

PDFTK installer for Windows can be downloaded here. After PDFTK is installed, ensure that the directory of pdftk.exe is in the PATH environment variable.

Ubuntu 18.04 and newer

For Ubuntu versions starting from 18.04 and newer versions, use Snap to install PDFTK:

$ sudo snap install pdftk

Ubuntu 16.04 and older

For Ubuntu versions 16.04 and older versions, use Apt to install PDFTK:

$ sudo apt install pdftk

If your installation is successful, you should be able to run pdftk from the shell.