How To Install ImageMagick-c++ on Rocky Linux 8

In this tutorial we learn how to install ImageMagick-c++ on Rocky Linux 8. ImageMagick-c++ is ImageMagick Magick++ library (C++ bindings)

Introduction

In this tutorial we learn how to install ImageMagick-c++ on Rocky Linux 8.

What is ImageMagick-c++

This package contains the Magick++ library, a C++ binding to the ImageMagick graphics manipulation library. Install ImageMagick-c++ if you want to use any applications that use Magick++.

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

Install ImageMagick-c++ on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ImageMagick-c++

Install ImageMagick-c++ on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ImageMagick-c++

How To Uninstall ImageMagick-c++ on Rocky Linux 8

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

sudo dnf remove ImageMagick-c++

ImageMagick-c++ Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/14/8f7b1f67e2459b0dfcd07f0b882d1e11959351
/usr/lib64/libMagick++-6.Q16.so.8
/usr/lib64/libMagick++-6.Q16.so.8.0.0
/usr/share/doc/ImageMagick-c++
/usr/share/doc/ImageMagick-c++/AUTHORS
/usr/share/doc/ImageMagick-c++/COPYING
/usr/share/doc/ImageMagick-c++/ChangeLog
/usr/share/doc/ImageMagick-c++/NEWS
/usr/share/doc/ImageMagick-c++/README

References

Summary

In this tutorial we learn how to install ImageMagick-c++ on Rocky Linux 8 using yum and dnf.