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

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

Introduction

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

What is GraphicsMagick-c++

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

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

Install GraphicsMagick-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 GraphicsMagick-c++ using dnf by running the following command:

sudo dnf -y install GraphicsMagick-c++

Install GraphicsMagick-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 GraphicsMagick-c++ using yum by running the following command:

sudo yum -y install GraphicsMagick-c++

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

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

sudo dnf remove GraphicsMagick-c++

GraphicsMagick-c++ Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/6e534b9af3074583a2873d004859e4dbd555e0
/usr/lib64/libGraphicsMagick++-Q16.so.12
/usr/lib64/libGraphicsMagick++-Q16.so.12.5.0

References

Summary

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