How To Install cairo-tools on Fedora 36

In this tutorial we learn how to install cairo-tools in Fedora 36. cairo-tools is Development tools for cairo

Introduction

In this tutorial we learn how to install cairo-tools on Fedora 36.

What is cairo-tools

Cairo is a 2D graphics library designed to provide high-quality display and print output. This package contains tools for working with the cairo graphics library. * cairo-trace

We can use yum or dnf to install cairo-tools on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cairo-tools.

Install cairo-tools on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cairo-tools

Install cairo-tools on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cairo-tools using yum by running the following command:

sudo yum -y install cairo-tools

How To Uninstall cairo-tools on Fedora 36

To uninstall only the cairo-tools package we can use the following command:

sudo dnf remove cairo-tools

cairo-tools Package Contents on Fedora 36

/usr/bin/cairo-sphinx
/usr/bin/cairo-trace
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/ff852938962aa88266053aff033dc52266be2b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/572eeeb140e6bd98afdda0916cb70732e60837
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/b7bcbb43ddebbf650c7e61c992d3399c8eb42b
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/6ab4534dfe17fbdd30c72abe147a4638b54d1b
/usr/lib64/cairo
/usr/lib64/cairo/libcairo-fdr.so
/usr/lib64/cairo/libcairo-sphinx.so
/usr/lib64/cairo/libcairo-trace.so

References

Summary

In this tutorial we learn how to install cairo-tools on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).