First I just downloaded the pre-built binary as described here
/usr/local/bin$ sudo wget https://imagemagick.org/archive/binaries/magick
but trying to run it gives this:
$ sudo chmod +x magick
$ magick -version
dlopen(): error loading libfuse.so.2
AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
So the next step is to install FUSE [1]
$ sudo add-apt-repository universe
$ sudo apt install libfuse2
but still no luck:
$ magick -version
/tmp/.mount_magickwccjeB/usr/bin/magick: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
$ sudo apt install libharfbuzz0b
after this it works:
$ magick -version
Version: ImageMagick 7.1.1-39 Q16-HDRI x86_64 e339a05ed:20241002 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): bzlib djvu fontconfig freetype heic jbig jng jp2 jpeg lcms lqr lzma openexr png raqm tiff webp x xml zlib
Compiler: gcc (9.4)