How To Install python3-os-service-types on Fedora 36

In this tutorial we learn how to install python3-os-service-types in Fedora 36. python3-os-service-types is Python library for consuming OpenStack sevice-types-authority data

Introduction

In this tutorial we learn how to install python3-os-service-types on Fedora 36.

What is python3-os-service-types

OsServiceTypes is a Python library for consuming OpenStack sevice-types-authority data The OpenStack Service Types Authority contains information about official OpenStack services and their historical service-type aliases. The data is in JSON and the latest data should always be used. This simple library exists to allow for easy consumption of the data, along with a built-in version of the data to use in case network access is for some reason not possible and local caching of the fetched data.

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

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

sudo dnf -y install python3-os-service-types

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

sudo yum -y install python3-os-service-types

How To Uninstall python3-os-service-types on Fedora 36

To uninstall only the python3-os-service-types package we can use the following command:

sudo dnf remove python3-os-service-types

python3-os-service-types Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/os_service_types
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/os_service_types-1.7.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/os_service_types/__init__.py
/usr/lib/python3.10/site-packages/os_service_types/__pycache__
/usr/lib/python3.10/site-packages/os_service_types/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/__pycache__/exc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/__pycache__/exc.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/__pycache__/service_types.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/__pycache__/service_types.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/data
/usr/lib/python3.10/site-packages/os_service_types/data/__init__.py
/usr/lib/python3.10/site-packages/os_service_types/data/__pycache__
/usr/lib/python3.10/site-packages/os_service_types/data/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/data/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/data/service-types.json
/usr/lib/python3.10/site-packages/os_service_types/exc.py
/usr/lib/python3.10/site-packages/os_service_types/service_types.py
/usr/lib/python3.10/site-packages/os_service_types/tests
/usr/lib/python3.10/site-packages/os_service_types/tests/__init__.py
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_builtin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_builtin.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_data.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_data.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_match.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_match.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_misc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_misc.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_remote.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_remote.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_singleton.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_singleton.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_warn.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/__pycache__/test_warn.cpython-310.pyc
/usr/lib/python3.10/site-packages/os_service_types/tests/base.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_builtin.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_data.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_match.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_misc.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_remote.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_singleton.py
/usr/lib/python3.10/site-packages/os_service_types/tests/test_warn.py
/usr/share/doc/python3-os-service-types
/usr/share/doc/python3-os-service-types/README.rst
/usr/share/doc/python3-os-service-types/readme.rst
/usr/share/licenses/python3-os-service-types
/usr/share/licenses/python3-os-service-types/LICENSE

References

Summary

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