Page 1 of 1

Uninstall Imagemagick from Source?

Posted: 2018-09-18T12:09:36-07:00
by buchert
I installed Imagemagick from source and I didn't install the decode delegates, so it's useless as it won't work with any common image formats.

What is the safest way to uninstall it? And if I afterwards install Imagemagick from the Ubuntu repository it will come with all the necessary decoding delegates, such as png, jpg?

Information on my current installation:

Version: ImageMagick 7.0.8-11 Q16 x86_64 2018-09-18 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): fontconfig freetype png x zlib

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T12:46:17-07:00
by fmw42

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T12:47:11-07:00
by fmw42
You do have PNG installed. But see make uninstall at https://www.imagemagick.org/script/adva ... .php#build

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T13:16:24-07:00
by buchert
Tx fmw! My software repository on Linux Mint indicates that I have it installed already, so it seems I installed it twice, from the repository and from source:

Image



Should I also remove the version installed from the repository as well?

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T13:41:33-07:00
by fmw42
Sorry, I am not Linux user. So I cannot really advise much except to point you to https://imagemagick.org/script/advanced ... lation.php

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T14:43:24-07:00
by buchert
Okay thanks fmw. I'm curious, what is the rationale behind ImageMagick developers not including all image format delegates with every possible installation source for ImageMagick? Virtually everyone who uses ImageMagick will want to work with jpg format, so I don't understand why it isn't a standard to include these delegates.

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T15:02:08-07:00
by fmw42
They are included with the binaries that the Imagemagick developers compile. But they do not have access to every vintage Linux, Windows has too many variations and for Mac, it only allows one version at a time. The Imagemagick developers have one or more computers of Linux, Windows and Mac, but they do not have enough computers to maintain all vintages of Linux. You could buy them one for your vintage Linux if you want.

They are not included with the source code, because each delegate comes from other developers and one should compile them as needed.

For compilers than Imagemagick developers do have access, you can get the binaries with include most delegates from https://imagemagick.org/script/download.php

For source code, see
https://imagemagick.org/script/install-source.php#unix
https://imagemagick.org/download/delegates/

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T15:30:18-07:00
by snibgo
I'll mention that the Windows source code at https://imagemagick.org/script/install- ... hp#windows does contain dependencies and common delegates: png, jpeg, cairo, tiff, lqr etc. I guess that one set of these covers all varieties of Windows, but the same may not be true for other O/S's.

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T15:51:22-07:00
by fmw42
I do not think that is true at least for Mac. But thanks, snibgo, for the correction for Windows.

Re: Uninstall Imagemagick from Source?

Posted: 2018-09-18T23:51:13-07:00
by bratpit
buchert wrote: 2018-09-18T12:09:36-07:00

What is the safest way to uninstall it?

Run
sudo make uninstall
from directory you installed compiled IM if you do not delete it.
If yes you have to do it by the hand.

Allmost all distributions of Linux have libraries such as libpng , libjpeg,libtiff installed by default.
Ubuntu have them installed too.
So your compilation from source was wrong but not lack of delegates.

I think you not compiled from source at all because during compilation libraries /dependiences/ are auto recognized.
So I do not know what you've done.