Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing Image Magick on Ubuntu 14.04
sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
wget http://www.imagemagick.org/download/ImageMagick-6.8.7-7.tar.gz
tar xzvf ImageMagick-6.8.9-1.tar.gz
cd ImageMagick-6.8.9-1/
./configure --prefix=/opt/imagemagick-6.8 && make
checkinstall
@babnik63

This comment has been minimized.

Copy link

babnik63 commented Oct 8, 2014

This is the latest version tar.gz file:
wget http://www.imagemagick.org/download/ImageMagick.tar.gz

you should change other codes regarding to latest version number
;-)

@meteormatt

This comment has been minimized.

Copy link

meteormatt commented Jun 12, 2015

@babnik63 👍

@devoxel

This comment has been minimized.

Copy link

devoxel commented Jul 15, 2015

Might be useful to include the checkinstall input, although it's prompts are very descriptive.

@thanhcuong1990

This comment has been minimized.

Copy link

thanhcuong1990 commented Jul 23, 2015

I'm using a simple way to install imagemagick:
sudo apt-get install imagemagick

@terrysahaidak

This comment has been minimized.

Copy link

terrysahaidak commented Aug 4, 2015

@thanhcuong1990 in my case it doesn't working, I've got this error

After this operation, 67.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgs9-common all 9.10~dfsg-0ubuntu10.3
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgs9 amd64 9.10~dfsg-0ubuntu10.3
  404  Not Found [IP: 91.189.92.200 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main ghostscript amd64 9.10~dfsg-0ubuntu10.3
  404  Not Found [IP: 91.189.92.200 80]
Unable to correct missing packages.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9-common_9.10~dfsg-0ubuntu10.3_all.deb  404  Not Found [IP: 91.189.92.200 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9_9.10~dfsg-0ubuntu10.3_amd64.deb  404  Not Found [IP: 91.189.92.200 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.10~dfsg-0ubuntu10.3_amd64.deb  404  Not Found [IP: 91.189.92.200 80]

E: Aborting install.

I'm using Ubuntu 14.04.2 LTS.

@faysalmehmood

This comment has been minimized.

Copy link

faysalmehmood commented Sep 18, 2015

After checkinstall when I do "ldconfig /usr/local/lib"
It give error "/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
"

@faysalmehmood

This comment has been minimized.

Copy link

faysalmehmood commented Sep 18, 2015

here is my output of checkinstall:
ghost@ghost-protocol:~/ImageMagick-6.9.2-1$ checkinstall

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.


**** Debian package creation selected ***


*** Warning: The package name "ImageMagick-6.9.2" contains upper case
*** Warning: letters. dpkg might not like that so I changed
*** Warning: them to lower case.

This package will be built according to these values:

0 - Maintainer: [ ghost@ghost-protocol ]
1 - Summary: [ Package created with checkinstall 1.6.2 ]
2 - Name: [ imagemagick-6.9.2 ]
3 - Version: [ 1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ ImageMagick-6.9.2-1 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ imagemagick-6.9.2 ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Enter a number to change any of them or press ENTER to continue:

@faysalmehmood

This comment has been minimized.

Copy link

faysalmehmood commented Sep 18, 2015

I'm confused. Can anyone help me to check whether I have correctly installed ImageMagick or not?

@kisanme

This comment has been minimized.

Copy link

kisanme commented Jan 29, 2016

@avideyes Hi, I think this might help you.
After installing if you want to check whether you have successfully installed an configured ImageMagick you could run
$ convert -version - Will give the version information about the ImageMagick package
$ convert or $ convert -h or $ convert -help will show the information about how to use ImageMagick or basically the help information.

And if you need more information about how to perform ImageMagick functions using the terminal, you could read this page from ImageMagick website.

@drc-systems

This comment has been minimized.

Copy link

drc-systems commented Mar 16, 2016

from above step i got this result
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.


**** Debian package creation selected ***


*** Warning: The package name "ImageMagick-6.9.3" contains upper case
*** Warning: letters. dpkg might not like that so I changed
*** Warning: them to lower case.

This package will be built according to these values:

0 - Maintainer: [ root@rajen ]
1 - Summary: [ Package created with checkinstall 1.6.2 ]
2 - Name: [ imagemagick-6.9.3 ]
3 - Version: [ 7 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ ImageMagick-6.9.3-7 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ imagemagick-6.9.3 ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Enter a number to change any of them or press ENTER to continue:

--What to do next..?
Because when i press enter for continue, it displays the message that "Installation Failed" ...!

@radik909

This comment has been minimized.

Copy link

radik909 commented Mar 21, 2016

👍

@cryomator

This comment has been minimized.

Copy link

cryomator commented Jun 7, 2016

👍👍👍

@LuisSevillano

This comment has been minimized.

Copy link

LuisSevillano commented Jul 5, 2016

Thanks from Spain!

@nhattan

This comment has been minimized.

Copy link

nhattan commented Sep 28, 2016

Short answer:

sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev libmagic-dev
sudo apt-get install imagemagick
@sajjad-shirazy

This comment has been minimized.

Copy link

sajjad-shirazy commented Nov 19, 2016

@peakBreaker

This comment has been minimized.

Copy link

peakBreaker commented Nov 28, 2016

Fantastic!

@danielgasser

This comment has been minimized.

Copy link

danielgasser commented Mar 1, 2017

👍

@vijaychandra800

This comment has been minimized.

Copy link

vijaychandra800 commented Mar 16, 2017

Thanks you so much bro..very useful .,.really great info

@shridharkalagi

This comment has been minimized.

Copy link

shridharkalagi commented Mar 23, 2017

ubuntu:~$ checkinstall

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.

The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y

Preparing package documentation...OK

*** No known documentation files were found. The new package
*** won't include a documentation directory.


**** Debian package creation selected ***


This package will be built according to these values:

0 - Maintainer: [ ubuntu@ip-172-31-38-121 ]
1 - Summary: [ aa ]
2 - Name: [ ubuntu ]
3 - Version: [ 20170323 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ ubuntu ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ ubuntu ]
12 - Conflicts: [ ]
13 - Replaces: [ ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
make: *** No rule to make target `install'. Stop.

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

Installation is failing with above error on UBUNTU machine. Can some one please help?

@EdgarOrtegaRamirez

This comment has been minimized.

Copy link

EdgarOrtegaRamirez commented Apr 24, 2017

You should be able to install ImageMagick directly from Ubuntu software sources:

sudo apt-get update
sudo apt-get install imagemagick

More info:
https://help.ubuntu.com/community/ImageMagick

@vandamon

This comment has been minimized.

Copy link

vandamon commented May 26, 2017

why is identify not working with this?

@deejayingo

This comment has been minimized.

Copy link

deejayingo commented Aug 2, 2017

I had a similar problem and tried sudo apt install and sudo apt update, ...apt upgrade, ...apt-get partitial... purge... autoreinstall etc. etc.
but i didn't recognized that apt-get and aptitude are different ways to get packages.

At the end that was my solution:
sudo aptitude reinstall <package/app/missing deb>
an other version i found is following (but I don't tried because that worked fine):
sudo aptitude reinstall -f <package/app/missing deb pkg>

{In my case it was sudo aptitude reinstall libmagick++-6.q16-7:amd64 just to make it clear}

I hope it helps someone like it helped me

@ronzillia

This comment has been minimized.

Copy link

ronzillia commented Nov 13, 2017

@terrysahaidak Try capital Y

@dangkhoaow

This comment has been minimized.

Copy link

dangkhoaow commented Jun 4, 2018

Best place to execute ImageMagick online for you. Supporting all ImageMagick feature with output file and console log, no need to install.
https://freetoolonline.com/imagemagick-online.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.