Skip to content

Instantly share code, notes, and snippets.

@cuuupid
Created December 17, 2017 23:21
Show Gist options
  • Save cuuupid/963db645047597723956af13ab87b73a to your computer and use it in GitHub Desktop.
Save cuuupid/963db645047597723956af13ab87b73a to your computer and use it in GitHub Desktop.
Install ImageMagick on Ubuntu (or WSL)
wget https://www.imagemagick.org/download/ImageMagick.tar.gz
tar xvzf ImageMagick.tar.gz
cd ImageMagick-*
./configure
make
sudo make install
sudo ldconfig /usr/local/lib
@samiggapps
Copy link

This simple command worked for me on WSL
$ sudo apt-get install imagemagick

@b-mandelbrot
Copy link

b-mandelbrot commented Sep 14, 2019

This simple command worked for me on WSL
$ sudo apt-get install imagemagick

Yes, it worked fine, but I needed to do an update before running apt-get install, or you will get some 404 errors.

@lcast5576
Copy link

libtool: error: error: relink 'MagickWand/libMagickWand-7.Q16HDRI.la' with the above command before installing it

Currently trying to install on WSL ubuntu 18 , what to do with this error?

@tuangd
Copy link

tuangd commented Nov 21, 2022

the above script is working for me.
the apt-get one command line is not working. Even after the update and upgrade.

@jjxtra
Copy link

jjxtra commented Jul 11, 2023

Tried apt update, got this:

E: The repository 'http://packages.ros.org/ros/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

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