In this article, we cover how to install ImageMagick in Ubuntu 24.04 release. At the time of writing, the latest stable release available is 7.1.1-27. While through the standard Ubuntu repository, it is 6.9.11-60. So, we cover both installations from the source as well as the repository.
ImageMagick is a free and open-source application that helps us with image processing tasks. We can do image editing, conversion, color adjustments, etc. quite easily through ImageMagick.
Note: The following operations require Administrative rights. If you lack the necessary rights to make changes to your system then, contact your System Administrator for assistance.
Install ImageMagick in Ubuntu 24.04 from the source
Step 1. Open a terminal and download ImageMagick from its official webpage.
https://imagemagick.org/script/install-source.php#linux
Look for the file: ImageMagick.tar.gz
Step 2. Extract ImageMagick.tar.gz
Use the tar command-line utility to extract the package:
tar -xvf ImageMagick.tar.gz
This creates ImageMagick-7.1.1-27/ in the current directory. The version number could be different for you.
Step 3. Compile and Configure
Use the cd command-line utility to get inside the directory ImageMagick-7.1.1-27/
cd ImageMagick-7.1.1-27/
And, issue the following commands:
./configure make
If everything works well:
sudo make install sudo ldconfig /usr/local/lib
Step 4. To verify the installation:
convert --version
Install ImageMagick in Ubuntu 24.04 from the repository
We can also install ImageMagick through the standard Ubuntu repository.
Step 1. Open a terminal and update the standard Ubuntu repository:
sudo apt update
Step 2. Install ImageMagick
sudo apt install imagemagick
Step 3. Verify the installation
convert --version
In conclusion, we have covered how to install ImageMagick in Ubuntu 24.04 release here.