Angelo
Angelo
I am Angelo. A systems engineer passionate about Linux and all open-source software. Although here I'm just another member of the family.

How to install the latest version of ImageMagick on Ubuntu 22.04 | Linux Mint 21

Hello, friends. In this post, you’ll learn how to install the latest version of ImageMagick on Ubuntu 22.04 | Linux Mint 21

The ImageMagick tool is a library with which you can create, edit, compose, or convert digital images. It supports many available formats and is presented for Linux without a lot of fuss.

ImageMagick can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses, and Bézier curves.

One of the best things about this tool is that it is open source and free, and it has excellent support for Linux.

Now, you will learn how to get the latest version.

Install the latest version of ImageMagick on Ubuntu 22.04 | Linux Mint 21

- Advertisement -

To get the latest version of ImageMagick, it is necessary to compile the source code of ImageMagick. This way you won’t have much trouble using it.

First, open a terminal and update the whole system

sudo apt update
sudo apt upgrade

Then, install the required dependencies:

sudo apt install build-essential make gcc libltdl-dev
- Advertisement -

Then download the source code for ImageMagick

cd /tmp/
wget -c https://imagemagick.org/archive/ImageMagick.tar.gz
Download ImageMagick latest version
Download ImageMagick latest version

Now, unzip the file you downloaded

tar xvfz ImageMagick.tar.gz

Then, access the folder that has been generated

cd ImageMagick-7.1.0-45/

The name of the folder will refer to the downloaded version.

Now configure the source code

./configure --with-modules
Configuring the source code
Configuring the source code

And proceed with the installation

sudo make install

Then you have to create a link so that ImageMagick can run

sudo ldconfig /usr/local/lib

Finally, check the installed version

magick -version

To get something similar to this

ImageMagick latest version
ImageMagick latest version

Enjoy it.

Conclusion

In this short but useful post, you learned how to get the latest version of ImageMagick on a modern system like Ubuntu 22.04 | Linux Mint 21 from source code.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook