Skip to content

Instantly share code, notes, and snippets.

@honorlin
Created August 8, 2015 10:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save honorlin/b34d1bba6514d74c24cf to your computer and use it in GitHub Desktop.
Save honorlin/b34d1bba6514d74c24cf to your computer and use it in GitHub Desktop.
Ubuntu Install Lastest ImageMagick-6.9.1-10
sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
curl -O http://www.imagemagick.org/download/ImageMagick-6.9.1-10.tar.gz
tar xzvf ImageMagick-6.9.1-10.tar.gz
cd ImageMagick-6.9.1-10/
./configure --prefix=/opt/imagemagick-6.9.1-10 && make
checkinstall
@honorlin
Copy link
Author

sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
curl -O http://www.imagemagick.org/download/ImageMagick-6.9.2-0.tar.gz
tar xzvf ImageMagick-6.9.1-10.tar.gz
cd ImageMagick-6.9.1-10/
./configure --prefix=/opt/imagemagick-6.9.1-10 && make
checkinstall

@honorlin
Copy link
Author

sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
curl -O http://www.imagemagick.org/download/ImageMagick-6.9.2-0.tar.gz
tar xzvf ImageMagick-6.9.2-0.tar.gz
cd ImageMagick-6.9.2-0/
./configure --prefix=/opt/imagemagick-6.9.2-0 && make
checkinstall

@joshuapinter
Copy link

Latest versions are here: http://www.imagemagick.org/download/

@joshuapinter
Copy link

Getting the following error:

$ identify
identify: error while loading shared libraries: libMagickCore-6.Q16.so.6: cannot open shared object file: No such file or directory

@joshuapinter
Copy link

When I run apt-get build-dep imagemagick -y I'm getting E: You must put some 'source' URIs in your sources.list.

My /etc/apt/sources.list looks like this:

deb http://archive.ubuntu.com/ubuntu/ xenial main universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main universe
deb http://archive.ubuntu.com/ubuntu/ xenial-security main universe

@joshuapinter
Copy link

Nevermind, I had to run ldconfig after checkinstall to update the links/bindings. Then it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment