I tried to install pdftk
in Ubuntu 18.04. It seems to be that the package is missing from official repositories.
How can I install pdftk
?
I tried to install pdftk
in Ubuntu 18.04. It seems to be that the package is missing from official repositories.
How can I install pdftk
?
pdftk is missing from the official repository right now. That's an issue for many people.
There's a workaround here: How can I install pdftk in Ubuntu 18.04 Bionic?
However some might prefer a GTK approach and/or use a standard installation instead of one relying on OpenJDK. Those more acquainted with the terminal can download and install from there.
You'll need:
gdebi (highly recommended over GNOME Software/Software Center), install it from the software center or $ sudo apt install gdebi
a few dependencies from the artful repositories (.deb files):
pdftk, also from artful repo (download: https://packages.ubuntu.com/artful/pdftk)
Basically the process is opening and installing the .deb files - preferably on gdebi
- in the order below. It might be interesting to open pdftk
first on gdebi
just to see the "impossible dependency" warning. We're basically installing the dependencies from an older repository, so it'll run like it did in 17.10. The order is:
After that you might want to check the status of pdftk at the software center - it might say it is not installed; install there or maybe just let it be.
Go to the terminal and check pdftk:
$ pdftk
It should now be installed.
Not exactly the same thing, but for some operations I've found useful QPDF to manipulate PDFs in Ubuntu 18.04 LTS Bionic Beaver.
At time of this writing (May 2018) the project seems to be active and well mantained.
pdftk
, I get:Error: cannot satisfy dependencies
. Any thoughts? – Philip Leifeld Apr 29 '18 at 13:25You could try libgcj17 (https://packages.ubuntu.com/artful/libgcj17) or maybe checking each of the dependencies.
See if one of the dependencies of pdftk is not there (https://packages.ubuntu.com/artful/pdftk)
It is possible that the problem is due to a dependency of a dependency missing from bionic's repos -- that was the case with libgcj16 that required the unlisted libgcj-common.
– Ivan Apr 30 '18 at 05:46$ gdebi pdftk_2.02-4build1_amd64.deb
outputs:Dependency is not satisfiable: libgcj17 (>= 5)
– khatchad May 29 '18 at 21:51sudo snap install pdftk
– Daniel Aug 07 '18 at 17:15maybe it has been fixed already, but I remember from earlier LTS releases of things like not being able to run .deb packages and (in this version and earlier version) the program installs but there are missing dependencies that the software center didn't warn you about, despite saying the install was succesful - it has been a while, but, if I remember correctly, believe this was one of the issues with pdftk
– Ivan Sep 02 '18 at 02:11