How To Install python3-hawkey on Fedora 36

In this tutorial we learn how to install python3-hawkey in Fedora 36. python3-hawkey is Python 3 bindings for the hawkey library

Introduction

In this tutorial we learn how to install python3-hawkey on Fedora 36.

What is python3-hawkey

Python 3 bindings for the hawkey library.

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

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

sudo dnf -y install python3-hawkey

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

sudo yum -y install python3-hawkey

How To Uninstall python3-hawkey on Fedora 36

To uninstall only the python3-hawkey package we can use the following command:

sudo dnf remove python3-hawkey

python3-hawkey Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/5e7a9989db3ab3c48c0154bab712213a9d40f8
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/010bcfdeac203183b58d8de8c4285ba8952803
/usr/lib64/python3.10/site-packages/hawkey
/usr/lib64/python3.10/site-packages/hawkey/__init__.py
/usr/lib64/python3.10/site-packages/hawkey/__pycache__
/usr/lib64/python3.10/site-packages/hawkey/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/hawkey/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/hawkey/_hawkey.so
/usr/lib64/python3.10/site-packages/hawkey/test
/usr/lib64/python3.10/site-packages/hawkey/test/__init__.py
/usr/lib64/python3.10/site-packages/hawkey/test/__pycache__
/usr/lib64/python3.10/site-packages/hawkey/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/hawkey/test/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/hawkey/test/_hawkey_test.so
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/5002b0c7380a532a8cdd9b0f6cd75ae0b7da84
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/409d129662274328fc248a2f89dbf29ce204ab
/usr/lib64/python3.10/site-packages/hawkey
/usr/lib64/python3.10/site-packages/hawkey/__init__.py
/usr/lib64/python3.10/site-packages/hawkey/__pycache__
/usr/lib64/python3.10/site-packages/hawkey/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/hawkey/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/hawkey/_hawkey.so
/usr/lib64/python3.10/site-packages/hawkey/test
/usr/lib64/python3.10/site-packages/hawkey/test/__init__.py
/usr/lib64/python3.10/site-packages/hawkey/test/__pycache__
/usr/lib64/python3.10/site-packages/hawkey/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/hawkey/test/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/hawkey/test/_hawkey_test.so

References

Summary

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