3

I installed ImageMagick via apt install imagemagick but then realised I need a newer version, so I compiled it from source and installed over the top of the old version. mogrify -version still showed the old version so I decided to remove everything and start again from scratch with apt remove imagemagick. However even after this I can still run imagemagick; i.e. it's not removed.

How can I remove it properly?

(And why did this happen in the first place? Why does apt remove not work?)

enter image description here

Related question: What is simplest process to get ImageMagick 7 with PNG support on Ubuntu?

Clonkex
  • 1,684

1 Answers1

4

The imagemagick package is a dummy package. From apt show imagemagick

 .
 This package include links to channel depth specific binaries and manual
 pages.
 .
 This is a dummy package.  You can safely purge or remove it.

The "channel depth specific binaries and manual pages" are provided by the package's dependency - you can check what that is using apt depends - for example:

$ apt depends imagemagick
imagemagick
  Depends: imagemagick-6.q16 (>= 8:6.9.2.10+dfsg-2~)
    imagemagick-6.q16:i386

(the q16 here refers to the the channel depth). If you installed imagemagick via apt (or apt-get) this will be the package that you need to remove.

If you installed the software by building it from source code, then please refer to

steeldriver
  • 142,475