Install ImageMagick in AlmaLinux 9

Published: December 08, 2022

Last updated: December 08, 2022

Install ImageMagick in AlmaLinux 9

In this article, we cover how to install ImageMagick in AlmaLinux 9. ImageMagick is a free and open source cross-platform application which is used to create, edit and convert digital images. It was created by John Cristy. And, the application was first released in the year 1990.

Currently, it supports more than 200 file formats. With the help of ImageMagick, we can convert images to various file formats. This can be done with the help of convert command-line utility. Besides, some of the features include creating GIF animation, transform and add shapes to the images.

We can install ImageMagick through two methods -

  1. EPEL repository and,
  2. compiling the source code.

Here, we will be covering the first method i.e. EPEL repository.

Note: Following operations require superuser privileges. In case you don't have one then, we advise you to contact your System Administrator for assistance.

Install ImageMagick in AlmaLinux 9

The package ImageMagick is available through EPEL repository. So, if you haven't installed it yet then install it through the following command -

# dnf install epel-release

Next, to install ImageMagick -

# dnf install ImageMagick

This would show us a list of dependencies which are required before installing ImageMagick. Go through them. And, if you find everything Ok. Then press y. Once the package is installed, it would show the message - Complete!

To verify the installation we can issue the following command in terminal -

convert --version

It would return with the installed ImageMagick package version details. For us it was -

Version: ImageMagick 6.9.12-67 Q16 x86_64 17519

which is version available through EPEL repository at the time of writing.

In conclusion, we have covered how to install ImageMagick in AlmaLinux 9.