Open a terminal, run the command pdftk and you should see the output similar to the one on Figure 1.
$ sudo apt install pdftk # installing PDFtkĪfter the installation check if the software has been installed correctly. $ sudo apt update # updating package index
However, I prefer this method over the building the program from sources (this is the third method, but I rarely use this approach): $ sudo add-apt-repository ppa:malteworld/ppa # adding external repository
Of course, if you do not trust the maintainer you should not add the repository to your operating system trusted ones and install software from it. I use PDFtk installed from external package repository. Installation from External Package Repository Therefore, I recommend installing PDFtk using the second approach. In order to install PDFtk using snap, open a terminal and execute the following simple command: $ sudo snap install pdftkĬurrently (Ubuntu 18.04), snap cannot work with the user home directories if they are not under / or /home (please, check this discussion thread), therefore, you’ll not be able to work with documents on NFSes, other drives, etc. Basically, you can install the binary of PDFtk either using snap or using external package repository. Personally, I use an Ubuntu flavour operating system, so I will describe the installation steps for this OS. Installation from External Package Repositoryīefore exploring the commands, I should say some words about PDFtk installation.In this article, I describe some commands I use from time to time. In this situation, the PDFtk utility can be very useful.
It is quite often when some authorities ask you to print a PDF document, sign just one page and send them back a scanned copy. This functionality is helpful when you care about the nature and want to avoid printing some pages. When you are working with PDF documents, it is often required to merge them together, rotate some pages or select some of them, etc.