How To Install python3-django-prometheus on Fedora 36

In this tutorial we learn how to install python3-django-prometheus in Fedora 36. python3-django-prometheus is Django middlewares to monitor your application with Prometheus.io

Introduction

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

What is python3-django-prometheus

Django middlewares to monitor your application with Prometheus.io. Python 3 version.

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

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

sudo dnf -y install python3-django-prometheus

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

sudo yum -y install python3-django-prometheus

How To Uninstall python3-django-prometheus on Fedora 36

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

sudo dnf remove python3-django-prometheus

python3-django-prometheus Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/django_prometheus
/usr/lib/python3.10/site-packages/django_prometheus-2.1.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/django_prometheus-2.1.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/django_prometheus-2.1.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/django_prometheus-2.1.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/django_prometheus-2.1.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/django_prometheus-2.1.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/django_prometheus/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/apps.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/apps.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/exports.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/exports.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/middleware.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/middleware.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/migrations.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/migrations.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/models.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/models.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/testutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/testutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/urls.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/urls.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/apps.py
/usr/lib/python3.10/site-packages/django_prometheus/cache
/usr/lib/python3.10/site-packages/django_prometheus/cache/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/cache/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/__pycache__/metrics.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/__pycache__/metrics.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/django_memcached_consul.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/django_memcached_consul.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/filebased.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/filebased.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/locmem.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/locmem.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/memcached.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/memcached.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/redis.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/__pycache__/redis.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/django_memcached_consul.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/filebased.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/locmem.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/memcached.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/backends/redis.py
/usr/lib/python3.10/site-packages/django_prometheus/cache/metrics.py
/usr/lib/python3.10/site-packages/django_prometheus/conf
/usr/lib/python3.10/site-packages/django_prometheus/conf/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/conf/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/conf/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/conf/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db
/usr/lib/python3.10/site-packages/django_prometheus/db/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__/common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__/common.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__/metrics.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/__pycache__/metrics.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/mysql/base.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgis/base.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/postgresql/base.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/db/backends/sqlite3/base.py
/usr/lib/python3.10/site-packages/django_prometheus/db/common.py
/usr/lib/python3.10/site-packages/django_prometheus/db/metrics.py
/usr/lib/python3.10/site-packages/django_prometheus/exports.py
/usr/lib/python3.10/site-packages/django_prometheus/middleware.py
/usr/lib/python3.10/site-packages/django_prometheus/migrations.py
/usr/lib/python3.10/site-packages/django_prometheus/models.py
/usr/lib/python3.10/site-packages/django_prometheus/tests
/usr/lib/python3.10/site-packages/django_prometheus/tests/__init__.py
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/test_django_prometheus.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/test_django_prometheus.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/test_exports.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/test_exports.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/test_testutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/__pycache__/test_testutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/django_prometheus/tests/test_django_prometheus.py
/usr/lib/python3.10/site-packages/django_prometheus/tests/test_exports.py
/usr/lib/python3.10/site-packages/django_prometheus/tests/test_testutils.py
/usr/lib/python3.10/site-packages/django_prometheus/testutils.py
/usr/lib/python3.10/site-packages/django_prometheus/urls.py
/usr/lib/python3.10/site-packages/django_prometheus/utils.py
/usr/share/doc/python3-django-prometheus
/usr/share/doc/python3-django-prometheus/README.md
/usr/share/licenses/python3-django-prometheus
/usr/share/licenses/python3-django-prometheus/LICENSE

References

Summary

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