How To Install python3-gunicorn on Rocky Linux 8

In this tutorial we learn how to install python3-gunicorn on Rocky Linux 8. python3-gunicorn is Python WSGI application server

Introduction

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

What is python3-gunicorn

Gunicorn (“Green Unicorn”) is a Python WSGI HTTP server for UNIX. It uses the pre-fork worker model, ported from Ruby’s Unicorn project. It supports WSGI, Django, and Paster applications.

We can use yum or dnf to install python3-gunicorn on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-gunicorn.

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

sudo dnf -y install python3-gunicorn

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

sudo yum -y install python3-gunicorn

How To Uninstall python3-gunicorn on Rocky Linux 8

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

sudo dnf remove python3-gunicorn

python3-gunicorn Package Contents on Rocky Linux 8

/usr/bin/gunicorn
/usr/bin/gunicorn-3
/usr/bin/gunicorn-3.6
/usr/lib/python3.6/site-packages/gunicorn
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/gunicorn-20.0.4-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/gunicorn/__init__.py
/usr/lib/python3.6/site-packages/gunicorn/__pycache__
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/arbiter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/arbiter.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/debug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/debug.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/glogging.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/glogging.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/pidfile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/pidfile.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/reloader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/reloader.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/sock.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/sock.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/systemd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/systemd.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/app
/usr/lib/python3.6/site-packages/gunicorn/app/__init__.py
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/pasterapp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/pasterapp.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/wsgiapp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/__pycache__/wsgiapp.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/app/base.py
/usr/lib/python3.6/site-packages/gunicorn/app/pasterapp.py
/usr/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py
/usr/lib/python3.6/site-packages/gunicorn/arbiter.py
/usr/lib/python3.6/site-packages/gunicorn/config.py
/usr/lib/python3.6/site-packages/gunicorn/debug.py
/usr/lib/python3.6/site-packages/gunicorn/errors.py
/usr/lib/python3.6/site-packages/gunicorn/glogging.py
/usr/lib/python3.6/site-packages/gunicorn/http
/usr/lib/python3.6/site-packages/gunicorn/http/__init__.py
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/body.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/body.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/message.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/message.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/unreader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/unreader.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/wsgi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/__pycache__/wsgi.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/http/body.py
/usr/lib/python3.6/site-packages/gunicorn/http/errors.py
/usr/lib/python3.6/site-packages/gunicorn/http/message.py
/usr/lib/python3.6/site-packages/gunicorn/http/parser.py
/usr/lib/python3.6/site-packages/gunicorn/http/unreader.py
/usr/lib/python3.6/site-packages/gunicorn/http/wsgi.py
/usr/lib/python3.6/site-packages/gunicorn/instrument
/usr/lib/python3.6/site-packages/gunicorn/instrument/__init__.py
/usr/lib/python3.6/site-packages/gunicorn/instrument/__pycache__
/usr/lib/python3.6/site-packages/gunicorn/instrument/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/instrument/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/instrument/__pycache__/statsd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/instrument/__pycache__/statsd.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/instrument/statsd.py
/usr/lib/python3.6/site-packages/gunicorn/pidfile.py
/usr/lib/python3.6/site-packages/gunicorn/reloader.py
/usr/lib/python3.6/site-packages/gunicorn/sock.py
/usr/lib/python3.6/site-packages/gunicorn/systemd.py
/usr/lib/python3.6/site-packages/gunicorn/util.py
/usr/lib/python3.6/site-packages/gunicorn/workers
/usr/lib/python3.6/site-packages/gunicorn/workers/__init__.py
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/base_async.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/base_async.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/geventlet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/geventlet.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/ggevent.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/ggevent.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/gthread.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/gthread.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/gtornado.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/gtornado.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/sync.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/sync.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/workertmp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/__pycache__/workertmp.cpython-36.pyc
/usr/lib/python3.6/site-packages/gunicorn/workers/base.py
/usr/lib/python3.6/site-packages/gunicorn/workers/base_async.py
/usr/lib/python3.6/site-packages/gunicorn/workers/geventlet.py
/usr/lib/python3.6/site-packages/gunicorn/workers/ggevent.py
/usr/lib/python3.6/site-packages/gunicorn/workers/gthread.py
/usr/lib/python3.6/site-packages/gunicorn/workers/gtornado.py
/usr/lib/python3.6/site-packages/gunicorn/workers/sync.py
/usr/lib/python3.6/site-packages/gunicorn/workers/workertmp.py
/usr/share/doc/python3-gunicorn
/usr/share/doc/python3-gunicorn/NOTICE
/usr/share/doc/python3-gunicorn/README.rst
/usr/share/doc/python3-gunicorn/THANKS
/usr/share/licenses/python3-gunicorn
/usr/share/licenses/python3-gunicorn/LICENSE

References

Summary

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