I am trying to create a symlink to be able to run a newer version of qpdf than the one installed in 18.04.
They provide a AppImage.
if I do:
/usr/local/bin$ sudo wget https://github.com/qpdf/qpdf/releases/download/release-qpdf-9.1.1/qpdf-9.1.1-x86_64.AppImage
/usr/local/bin$ sudo chmod a+x qpdf-9.1.1-x86_64.AppImage
/usr/local/bin$ ./qpdf-9.1.1-x86_64.AppImage --version
qpdf version 9.1.1
Run qpdf --copyright to see copyright and license information.
But when I try to do a symlink (so I can call it as qpdf anywhere):
/usr/local/bin$ sudo ln -s qpdf-9.1.1-x86_64.AppImage qpdf
/usr/local/bin$ ./qpdf --version
qpdf: an input file name is required
Usage: qpdf [options] infile outfile
For detailed help, run qpdf --help
And it doesn't show the version (or --help
, etc).
How can I make it work?
I am new to Linux and maybe I am missing something obvious.