How To Install cairo on Fedora 36

In this tutorial we learn how to install cairo in Fedora 36. cairo is A 2D graphics library

Introduction

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

What is cairo

Cairo is a 2D graphics library designed to provide high-quality display and print output. Currently supported output targets include the X Window System, in-memory image buffers, and image files (PDF, PostScript, and SVG). Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available.

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

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

sudo dnf -y install cairo

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

sudo yum -y install cairo

How To Uninstall cairo on Fedora 36

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

sudo dnf remove cairo

cairo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/abb40a646f80e8d6fe0113fdccb3e45da55475
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/0fe0b867adf54566248726142decd11db47fac
/usr/lib64/libcairo-script-interpreter.so.2
/usr/lib64/libcairo-script-interpreter.so.2.11706.0
/usr/lib64/libcairo.so.2
/usr/lib64/libcairo.so.2.11706.0
/usr/share/doc/cairo
/usr/share/doc/cairo/AUTHORS
/usr/share/doc/cairo/BIBLIOGRAPHY
/usr/share/doc/cairo/BUGS
/usr/share/doc/cairo/NEWS
/usr/share/doc/cairo/README
/usr/share/licenses/cairo
/usr/share/licenses/cairo/COPYING
/usr/share/licenses/cairo/COPYING-LGPL-2.1
/usr/share/licenses/cairo/COPYING-MPL-1.1

References

Summary

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


title: “How To Install cairo on Fedora 36” linkTitle: “cairo” type: “docs” description: “In this tutorial we learn how to install cairo in Fedora 36. cairo is A 2D graphics library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/cairo-featured.png

Introduction

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

What is cairo

Cairo is a 2D graphics library designed to provide high-quality display and print output. Currently supported output targets include the X Window System, in-memory image buffers, and image files (PDF, PostScript, and SVG). Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available.

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

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

sudo dnf -y install cairo

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

sudo yum -y install cairo

How To Uninstall cairo on Fedora 36

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

sudo dnf remove cairo

cairo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/27382ae665308f5efac7a274c44bd5587b97b6
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/66abe2ad514666ef45dd075ea23c0e0533e096
/usr/lib/libcairo-script-interpreter.so.2
/usr/lib/libcairo-script-interpreter.so.2.11706.0
/usr/lib/libcairo.so.2
/usr/lib/libcairo.so.2.11706.0
/usr/share/doc/cairo
/usr/share/doc/cairo/AUTHORS
/usr/share/doc/cairo/BIBLIOGRAPHY
/usr/share/doc/cairo/BUGS
/usr/share/doc/cairo/NEWS
/usr/share/doc/cairo/README
/usr/share/licenses/cairo
/usr/share/licenses/cairo/COPYING
/usr/share/licenses/cairo/COPYING-LGPL-2.1
/usr/share/licenses/cairo/COPYING-MPL-1.1

References

Summary

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