How To Install python2-cairo on Fedora 36

In this tutorial we learn how to install python2-cairo in Fedora 36. python2-cairo is Python 2 bindings for the cairo library

Introduction

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

What is python2-cairo

Python 2 bindings for the cairo library.

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

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

sudo dnf -y install python2-cairo

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

sudo yum -y install python2-cairo

How To Uninstall python2-cairo on Fedora 36

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

sudo dnf remove python2-cairo

python2-cairo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/49d852cc9b2424fb8adb7f86dc1d92a8a13bf2
/usr/lib/python2.7/site-packages/cairo
/usr/lib/python2.7/site-packages/cairo/__init__.py
/usr/lib/python2.7/site-packages/cairo/__init__.pyc
/usr/lib/python2.7/site-packages/cairo/__init__.pyi
/usr/lib/python2.7/site-packages/cairo/__init__.pyo
/usr/lib/python2.7/site-packages/cairo/_cairo.so
/usr/lib/python2.7/site-packages/cairo/include
/usr/lib/python2.7/site-packages/cairo/include/pycairo.h
/usr/lib/python2.7/site-packages/cairo/py.typed
/usr/lib/python2.7/site-packages/pycairo-1.18.2-py2.7.egg-info
/usr/lib/python2.7/site-packages/pycairo-1.18.2-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/pycairo-1.18.2-py2.7.egg-info/top_level.txt
/usr/share/licenses/python2-cairo
/usr/share/licenses/python2-cairo/COPYING
/usr/share/licenses/python2-cairo/COPYING-LGPL-2.1
/usr/share/licenses/python2-cairo/COPYING-MPL-1.1

References

Summary

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


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

Introduction

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

What is python2-cairo

Python 2 bindings for the cairo library.

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

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

sudo dnf -y install python2-cairo

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

sudo yum -y install python2-cairo

How To Uninstall python2-cairo on Fedora 36

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

sudo dnf remove python2-cairo

python2-cairo Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/5434305d9e82215461392b9466814c8b0e3330
/usr/lib64/python2.7/site-packages/cairo
/usr/lib64/python2.7/site-packages/cairo/__init__.py
/usr/lib64/python2.7/site-packages/cairo/__init__.pyc
/usr/lib64/python2.7/site-packages/cairo/__init__.pyi
/usr/lib64/python2.7/site-packages/cairo/__init__.pyo
/usr/lib64/python2.7/site-packages/cairo/_cairo.so
/usr/lib64/python2.7/site-packages/cairo/include
/usr/lib64/python2.7/site-packages/cairo/include/pycairo.h
/usr/lib64/python2.7/site-packages/cairo/py.typed
/usr/lib64/python2.7/site-packages/pycairo-1.18.2-py2.7.egg-info
/usr/lib64/python2.7/site-packages/pycairo-1.18.2-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/pycairo-1.18.2-py2.7.egg-info/top_level.txt
/usr/share/licenses/python2-cairo
/usr/share/licenses/python2-cairo/COPYING
/usr/share/licenses/python2-cairo/COPYING-LGPL-2.1
/usr/share/licenses/python2-cairo/COPYING-MPL-1.1

References

Summary

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