How To Install python3-openshift on Fedora 36

In this tutorial we learn how to install python3-openshift in Fedora 36. python3-openshift is Python client for the OpenShift API

Introduction

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

What is python3-openshift

Python client for the OpenShift API

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

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

sudo dnf -y install python3-openshift

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

sudo yum -y install python3-openshift

How To Uninstall python3-openshift on Fedora 36

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

sudo dnf remove python3-openshift

python3-openshift Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/openshift
/usr/lib/python3.10/site-packages/openshift-0.13.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/openshift-0.13.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/openshift-0.13.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/openshift-0.13.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/openshift-0.13.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/openshift-0.13.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/openshift/__init__.py
/usr/lib/python3.10/site-packages/openshift/__pycache__
/usr/lib/python3.10/site-packages/openshift/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic
/usr/lib/python3.10/site-packages/openshift/dynamic/__init__.py
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/apply.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/apply.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/client.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/discovery.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/discovery.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/resource.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/__pycache__/resource.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/dynamic/apply.py
/usr/lib/python3.10/site-packages/openshift/dynamic/client.py
/usr/lib/python3.10/site-packages/openshift/dynamic/discovery.py
/usr/lib/python3.10/site-packages/openshift/dynamic/exceptions.py
/usr/lib/python3.10/site-packages/openshift/dynamic/resource.py
/usr/lib/python3.10/site-packages/openshift/helper
/usr/lib/python3.10/site-packages/openshift/helper/__init__.py
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__/hashes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__/hashes.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__/userpassauth.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/openshift/helper/__pycache__/userpassauth.cpython-310.pyc
/usr/lib/python3.10/site-packages/openshift/helper/hashes.py
/usr/lib/python3.10/site-packages/openshift/helper/userpassauth.py
/usr/share/licenses/python3-openshift
/usr/share/licenses/python3-openshift/LICENSE

References

Summary

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