Uninstall Imagemagick from Source?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
buchert
Posts: 36
Joined: 2015-02-13T11:15:29-07:00
Authentication code: 6789

Uninstall Imagemagick from Source?

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Uninstall Imagemagick from Source?

Post by fmw42 »

User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Uninstall Imagemagick from Source?

Post by fmw42 »

You do have PNG installed. But see make uninstall at https://www.imagemagick.org/script/adva ... .php#build
buchert
Posts: 36
Joined: 2015-02-13T11:15:29-07:00
Authentication code: 6789

Re: Uninstall Imagemagick from Source?

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Uninstall Imagemagick from Source?

Post 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
buchert
Posts: 36
Joined: 2015-02-13T11:15:29-07:00
Authentication code: 6789

Re: Uninstall Imagemagick from Source?

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Uninstall Imagemagick from Source?

Post 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/
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Uninstall Imagemagick from Source?

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Uninstall Imagemagick from Source?

Post by fmw42 »

I do not think that is true at least for Mac. But thanks, snibgo, for the correction for Windows.
bratpit
Posts: 17
Joined: 2018-09-16T00:20:21-07:00
Authentication code: 1152

Re: Uninstall Imagemagick from Source?

Post 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.
Post Reply