How To Install cairomm on Rocky Linux 8

In this tutorial we learn how to install cairomm on Rocky Linux 8. cairomm is C++ API for the cairo graphics library

Introduction

In this tutorial we learn how to install cairomm on Rocky Linux 8.

What is cairomm

Cairomm is the C++ API for the cairo graphics library. It offers all the power of cairo with an interface familiar to C++ developers, including use of the Standard Template Library where it makes sense.

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

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

sudo dnf -y install cairomm

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

sudo yum -y install cairomm

How To Uninstall cairomm on Rocky Linux 8

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

sudo dnf remove cairomm

cairomm Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/f448590a62202555305844d43a1e3bd9e3ca30
/usr/lib/libcairomm-1.0.so.1
/usr/lib/libcairomm-1.0.so.1.4.0
/usr/share/doc/cairomm
/usr/share/doc/cairomm/AUTHORS
/usr/share/doc/cairomm/NEWS
/usr/share/doc/cairomm/README
/usr/share/licenses/cairomm
/usr/share/licenses/cairomm/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/7757a941548d32c9ba10646f24dc95e7d9fde8
/usr/lib64/libcairomm-1.0.so.1
/usr/lib64/libcairomm-1.0.so.1.4.0
/usr/share/doc/cairomm
/usr/share/doc/cairomm/AUTHORS
/usr/share/doc/cairomm/NEWS
/usr/share/doc/cairomm/README
/usr/share/licenses/cairomm
/usr/share/licenses/cairomm/COPYING

References

Summary

In this tutorial we learn how to install cairomm on Rocky Linux 8 using yum and dnf.