How To Install python3-prometheus_client on Fedora 36

In this tutorial we learn how to install python3-prometheus_client in Fedora 36. python3-prometheus_client is Python client for Prometheus

Introduction

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

What is python3-prometheus_client

Python client for Prometheus.

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

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

sudo dnf -y install python3-prometheus_client

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

sudo yum -y install python3-prometheus_client

How To Uninstall python3-prometheus_client on Fedora 36

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

sudo dnf remove python3-prometheus_client

python3-prometheus_client Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/prometheus_client
/usr/lib/python3.10/site-packages/prometheus_client-0.13.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/prometheus_client-0.13.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/prometheus_client-0.13.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/prometheus_client-0.13.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/prometheus_client-0.13.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/prometheus_client-0.13.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/prometheus_client/__init__.py
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/asgi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/asgi.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/context_managers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/context_managers.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/exposition.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/exposition.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/gc_collector.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/gc_collector.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/metrics.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/metrics.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/metrics_core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/metrics_core.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/mmap_dict.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/mmap_dict.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/multiprocess.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/multiprocess.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/platform_collector.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/platform_collector.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/process_collector.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/process_collector.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/registry.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/registry.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/samples.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/samples.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/values.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/__pycache__/values.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/asgi.py
/usr/lib/python3.10/site-packages/prometheus_client/bridge
/usr/lib/python3.10/site-packages/prometheus_client/bridge/__init__.py
/usr/lib/python3.10/site-packages/prometheus_client/bridge/__pycache__
/usr/lib/python3.10/site-packages/prometheus_client/bridge/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/bridge/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/bridge/__pycache__/graphite.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/bridge/__pycache__/graphite.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/bridge/graphite.py
/usr/lib/python3.10/site-packages/prometheus_client/context_managers.py
/usr/lib/python3.10/site-packages/prometheus_client/core.py
/usr/lib/python3.10/site-packages/prometheus_client/exposition.py
/usr/lib/python3.10/site-packages/prometheus_client/gc_collector.py
/usr/lib/python3.10/site-packages/prometheus_client/metrics.py
/usr/lib/python3.10/site-packages/prometheus_client/metrics_core.py
/usr/lib/python3.10/site-packages/prometheus_client/mmap_dict.py
/usr/lib/python3.10/site-packages/prometheus_client/multiprocess.py
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__init__.py
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__/exposition.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__/exposition.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/exposition.py
/usr/lib/python3.10/site-packages/prometheus_client/openmetrics/parser.py
/usr/lib/python3.10/site-packages/prometheus_client/parser.py
/usr/lib/python3.10/site-packages/prometheus_client/platform_collector.py
/usr/lib/python3.10/site-packages/prometheus_client/process_collector.py
/usr/lib/python3.10/site-packages/prometheus_client/py.typed
/usr/lib/python3.10/site-packages/prometheus_client/registry.py
/usr/lib/python3.10/site-packages/prometheus_client/samples.py
/usr/lib/python3.10/site-packages/prometheus_client/twisted
/usr/lib/python3.10/site-packages/prometheus_client/twisted/__init__.py
/usr/lib/python3.10/site-packages/prometheus_client/twisted/__pycache__
/usr/lib/python3.10/site-packages/prometheus_client/twisted/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/twisted/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/twisted/__pycache__/_exposition.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/prometheus_client/twisted/__pycache__/_exposition.cpython-310.pyc
/usr/lib/python3.10/site-packages/prometheus_client/twisted/_exposition.py
/usr/lib/python3.10/site-packages/prometheus_client/utils.py
/usr/lib/python3.10/site-packages/prometheus_client/values.py
/usr/share/doc/python3-prometheus_client
/usr/share/doc/python3-prometheus_client/MAINTAINERS.md
/usr/share/doc/python3-prometheus_client/README.md
/usr/share/licenses/python3-prometheus_client
/usr/share/licenses/python3-prometheus_client/LICENSE

References

Summary

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