An effective workaround is to build Marc Vinyal's fork as described by David Foerster here https://askubuntu.com/questions/1028522/how-can-i-install-pdftk-in-ubuntu-18-04-bionic-shell-version-no-gtk and then wrap the jar file into an executable called "pdftk" using the lovely trick described here https://coderwall.com/p/ssuaxa/how-to-make-a-jar-file-linux-executable. This works perfectly for me and could point the way to a maintainable way forward for pdftk under Ubuntu. Maybe somebody who understands packaging could create a deb with the right dependencies, and put it on a repository somewhere?
An effective workaround is to build Marc Vinyal's fork as described by David Foerster here /askubuntu. com/questions/ 1028522/ how-can- i-install- pdftk-in- ubuntu- 18-04-bionic- shell-version- no-gtk and then wrap the jar file into an executable called "pdftk" using the lovely trick described here https:/ /coderwall. com/p/ssuaxa/ how-to- make-a- jar-file- linux-executabl e. This works perfectly for me and could point the way to a maintainable way forward for pdftk under Ubuntu. Maybe somebody who understands packaging could create a deb with the right dependencies, and put it on a repository somewhere?
https:/