How To Install python3-fedora on Rocky Linux 8

In this tutorial we learn how to install python3-fedora on Rocky Linux 8. python3-fedora is Python modules for talking to Fedora Infrastructure Services

Introduction

In this tutorial we learn how to install python3-fedora on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-fedora.

Install python3-fedora on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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

sudo dnf remove python3-fedora

python3-fedora Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/fedora
/usr/lib/python3.6/site-packages/fedora/__init__.py
/usr/lib/python3.6/site-packages/fedora/__pycache__
/usr/lib/python3.6/site-packages/fedora/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/iterutils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/iterutils.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/release.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/release.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/textutils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/textutils.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/urlutils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/__pycache__/urlutils.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client
/usr/lib/python3.6/site-packages/fedora/client/__init__.py
/usr/lib/python3.6/site-packages/fedora/client/__pycache__
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/baseclient.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/baseclient.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/bodhi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/bodhi.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/fas2.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/fas2.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/fasproxy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/fasproxy.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/openidbaseclient.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/openidbaseclient.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/openidcclient.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/openidcclient.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/openidproxyclient.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/openidproxyclient.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/proxyclient.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/proxyclient.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/wiki.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/fedora/client/__pycache__/wiki.cpython-36.pyc
/usr/lib/python3.6/site-packages/fedora/client/baseclient.py
/usr/lib/python3.6/site-packages/fedora/client/bodhi.py
/usr/lib/python3.6/site-packages/fedora/client/fas2.py
/usr/lib/python3.6/site-packages/fedora/client/fasproxy.py
/usr/lib/python3.6/site-packages/fedora/client/openidbaseclient.py
/usr/lib/python3.6/site-packages/fedora/client/openidcclient.py
/usr/lib/python3.6/site-packages/fedora/client/openidproxyclient.py
/usr/lib/python3.6/site-packages/fedora/client/proxyclient.py
/usr/lib/python3.6/site-packages/fedora/client/wiki.py
/usr/lib/python3.6/site-packages/fedora/iterutils.py
/usr/lib/python3.6/site-packages/fedora/release.py
/usr/lib/python3.6/site-packages/fedora/textutils.py
/usr/lib/python3.6/site-packages/fedora/urlutils.py
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/python_fedora-0.10.0-py3.6.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

References

Summary

In this tutorial we learn how to install python3-fedora on Rocky Linux 8 using yum and dnf.