How To Install python3-fedora on Fedora 36

In this tutorial we learn how to install python3-fedora in Fedora 36. python3-fedora is Python modules for talking to Fedora Infrastructure Services

Introduction

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

What is python3-fedora

Python modules that help with building Fedora Services. The client module included here can be used to build programs that communicate with many Fedora Infrastructure Applications such as Bodhi, PackageDB, MirrorManager, and FAS2.

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

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

sudo dnf -y install python3-fedora

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

sudo yum -y install python3-fedora

How To Uninstall python3-fedora on Fedora 36

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

sudo dnf remove python3-fedora

python3-fedora Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/fedora
/usr/lib/python3.10/site-packages/fedora/__init__.py
/usr/lib/python3.10/site-packages/fedora/__pycache__
/usr/lib/python3.10/site-packages/fedora/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/iterutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/iterutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/release.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/release.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/textutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/textutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/urlutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/__pycache__/urlutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client
/usr/lib/python3.10/site-packages/fedora/client/__init__.py
/usr/lib/python3.10/site-packages/fedora/client/__pycache__
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/baseclient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/baseclient.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/fas2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/fas2.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/fasproxy.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/fasproxy.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/openidbaseclient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/openidbaseclient.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/openidcclient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/openidcclient.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/openidproxyclient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/openidproxyclient.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/proxyclient.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/proxyclient.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/wiki.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fedora/client/__pycache__/wiki.cpython-310.pyc
/usr/lib/python3.10/site-packages/fedora/client/baseclient.py
/usr/lib/python3.10/site-packages/fedora/client/fas2.py
/usr/lib/python3.10/site-packages/fedora/client/fasproxy.py
/usr/lib/python3.10/site-packages/fedora/client/openidbaseclient.py
/usr/lib/python3.10/site-packages/fedora/client/openidcclient.py
/usr/lib/python3.10/site-packages/fedora/client/openidproxyclient.py
/usr/lib/python3.10/site-packages/fedora/client/proxyclient.py
/usr/lib/python3.10/site-packages/fedora/client/wiki.py
/usr/lib/python3.10/site-packages/fedora/iterutils.py
/usr/lib/python3.10/site-packages/fedora/release.py
/usr/lib/python3.10/site-packages/fedora/textutils.py
/usr/lib/python3.10/site-packages/fedora/urlutils.py
/usr/lib/python3.10/site-packages/python_fedora-1.1.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/python_fedora-1.1.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/python_fedora-1.1.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/python_fedora-1.1.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/python_fedora-1.1.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/python_fedora-1.1.1-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-fedora
/usr/share/doc/python3-fedora/AUTHORS
/usr/share/doc/python3-fedora/NEWS
/usr/share/doc/python3-fedora/README.rst
/usr/share/licenses/python3-fedora
/usr/share/licenses/python3-fedora/COPYING
/usr/share/locale/ca/LC_MESSAGES/python-fedora.mo
/usr/share/locale/cs/LC_MESSAGES/python-fedora.mo
/usr/share/locale/da/LC_MESSAGES/python-fedora.mo
/usr/share/locale/de/LC_MESSAGES/python-fedora.mo
/usr/share/locale/el_GR/LC_MESSAGES/python-fedora.mo
/usr/share/locale/es/LC_MESSAGES/python-fedora.mo
/usr/share/locale/fr/LC_MESSAGES/python-fedora.mo
/usr/share/locale/hu/LC_MESSAGES/python-fedora.mo
/usr/share/locale/it/LC_MESSAGES/python-fedora.mo
/usr/share/locale/ja/LC_MESSAGES/python-fedora.mo
/usr/share/locale/nl/LC_MESSAGES/python-fedora.mo
/usr/share/locale/pl/LC_MESSAGES/python-fedora.mo
/usr/share/locale/pt/LC_MESSAGES/python-fedora.mo
/usr/share/locale/pt_BR/LC_MESSAGES/python-fedora.mo
/usr/share/locale/ru/LC_MESSAGES/python-fedora.mo
/usr/share/locale/sv/LC_MESSAGES/python-fedora.mo
/usr/share/locale/th/LC_MESSAGES/python-fedora.mo
/usr/share/locale/tr/LC_MESSAGES/python-fedora.mo
/usr/share/locale/uk/LC_MESSAGES/python-fedora.mo
/usr/share/locale/zh_CN/LC_MESSAGES/python-fedora.mo
/usr/share/locale/zh_TW/LC_MESSAGES/python-fedora.mo

References

Summary

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