How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

January 30, 2020

pdftk ubuntu 18

Filed under: Linux — Tags: , — admin @ 6:22 pm

Today I have tried to install pdftk on ubuntu 18 . After search on developer site I saw that are package only for the redhat/centos.

So after a few search find out that you can install it with snap install pdftk

However this will not work .

Error: Unable to find file.
Error: Failed to open PDF file:
Errors encountered. No output created.
Done. Input errors, so no output created.

Errors like this you will see.

One solution is to download and install from other links

cd /tmp
# download packages
wget \ \ \

And after that you can install them with 
sudo apt-get install ./libgcj17_6.4.0-8ubuntu1_amd64.deb \
    ./libgcj-common_6.4-3ubuntu1_all.deb \
    ./pdftk_2.02-4build1_amd64.deb \

After that you can remove those from /tmp directory

Powered by WordPress