How To Install ImageMagick on AlmaLinux 8

In this tutorial we learn how to install ImageMagick in AlmaLinux 8. ImageMagick is An X application for displaying and manipulating images

Introduction

In this tutorial we learn how to install ImageMagick on AlmaLinux 8.

What is ImageMagick

ImageMagick is an image display and manipulation tool for the X Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF, and Photo CD image formats. It can resize, rotate, sharpen, color reduce, or add special effects to an image, and when finished you can either save the completed work in the original format or a different one. ImageMagick also includes command line programs for creating animated or transparent .gifs, creating composite images, creating thumbnail images, and more. ImageMagick is one of your choices if you need a program to manipulate and display images. If you want to develop your own applications which use ImageMagick code or APIs, you need to install ImageMagick-devel as well.

We can use yum or dnf to install ImageMagick on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ImageMagick.

Install ImageMagick on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ImageMagick using dnf by running the following command:

sudo dnf -y install ImageMagick

Install ImageMagick on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ImageMagick using yum by running the following command:

sudo yum -y install ImageMagick

How To Uninstall ImageMagick on AlmaLinux 8

To uninstall only the ImageMagick package we can use the following command:

sudo dnf remove ImageMagick

References

Summary

In this tutorial we learn how to install ImageMagick on AlmaLinux 8 using yum and dnf.