Skip to content

Instantly share code, notes, and snippets.

@rodleviton
Created May 26, 2014 07:37
Show Gist options
  • Star 76 You must be signed in to star a gist
  • Fork 35 You must be signed in to fork a gist
  • Save rodleviton/74e22e952bd6e7e5bee1 to your computer and use it in GitHub Desktop.
Save rodleviton/74e22e952bd6e7e5bee1 to your computer and use it in GitHub Desktop.
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
@nhattan
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

@ziaenezhad
Copy link

@peakBreaker
Copy link

Fantastic!

@danielgasser
Copy link

👍

@vijaychandra800
Copy link

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

@shridharkalagi
Copy link

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
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
Copy link

why is identify not working with this?

@deejayingo
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
Copy link

@terrysahaidak Try capital Y

@dangkhoaow
Copy link

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