How To Install cairomm on CentOS 8
Introduction
In this tutorial we learn how to install cairomm
on CentOS 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. cairomm 1.12.0 8.el8 x86_64 69 k cairomm-1.12.0-8.el8.src.rpm appstream C++ API for the cairo graphics library http LGPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install cairomm.
Install cairomm on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install cairomm
using dnf
by running the following command:
sudo dnf -y install cairomm
Install cairomm on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the cairomm
package we can use the following command:
sudo dnf remove cairomm
cairomm Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/98b5ed280108e18bce0dc1fa1ec69077573be8
/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/67
/usr/lib/.build-id/67/8ba1ca965cd26ccf4dafa95bd14d48a452c749
/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
- [cairomm website](http://www.cairographics.org http://www.cairographics.org)
Summary
In this tutorial we learn how to install cairomm
on CentOS 8 using yum and dnf.