How To Install python2-paste-deploy on Rocky Linux 8

In this tutorial we learn how to install python2-paste-deploy on Rocky Linux 8. python2-paste-deploy is Load, configure, and compose WSGI applications and servers

Introduction

In this tutorial we learn how to install python2-paste-deploy on Rocky Linux 8.

What is python2-paste-deploy

This tool provides code to load WSGI applications and servers from URIs; these URIs can refer to Python Eggs for INI-style configuration files. PasteScript provides commands to serve applications based on this configuration file.

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

Install python2-paste-deploy 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 python2-paste-deploy using dnf by running the following command:

sudo dnf -y install python2-paste-deploy

Install python2-paste-deploy 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 python2-paste-deploy using yum by running the following command:

sudo yum -y install python2-paste-deploy

How To Uninstall python2-paste-deploy on Rocky Linux 8

To uninstall only the python2-paste-deploy package we can use the following command:

sudo dnf remove python2-paste-deploy

python2-paste-deploy Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/PasteDeploy-2.0.1-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/paste
/usr/lib/python2.7/site-packages/paste/deploy
/usr/lib/python2.7/site-packages/paste/deploy/__init__.py
/usr/lib/python2.7/site-packages/paste/deploy/__init__.pyc
/usr/lib/python2.7/site-packages/paste/deploy/__init__.pyo
/usr/lib/python2.7/site-packages/paste/deploy/compat.py
/usr/lib/python2.7/site-packages/paste/deploy/compat.pyc
/usr/lib/python2.7/site-packages/paste/deploy/compat.pyo
/usr/lib/python2.7/site-packages/paste/deploy/config.py
/usr/lib/python2.7/site-packages/paste/deploy/config.pyc
/usr/lib/python2.7/site-packages/paste/deploy/config.pyo
/usr/lib/python2.7/site-packages/paste/deploy/converters.py
/usr/lib/python2.7/site-packages/paste/deploy/converters.pyc
/usr/lib/python2.7/site-packages/paste/deploy/converters.pyo
/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py
/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.pyc
/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.pyo
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates.py
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates.pyc
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates.pyo
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates/paste_deploy
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates/paste_deploy/+package+
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates/paste_deploy/+package+/sampleapp.py_tmpl
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates/paste_deploy/+package+/wsgiapp.py_tmpl
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates/paste_deploy/docs
/usr/lib/python2.7/site-packages/paste/deploy/paster_templates/paste_deploy/docs/devel_config.ini_tmpl
/usr/lib/python2.7/site-packages/paste/deploy/util.py
/usr/lib/python2.7/site-packages/paste/deploy/util.pyc
/usr/lib/python2.7/site-packages/paste/deploy/util.pyo
/usr/share/doc/python2-paste-deploy
/usr/share/doc/python2-paste-deploy/Makefile
/usr/share/doc/python2-paste-deploy/conf.py
/usr/share/doc/python2-paste-deploy/index.rst
/usr/share/doc/python2-paste-deploy/modules
/usr/share/doc/python2-paste-deploy/modules/config.rst
/usr/share/doc/python2-paste-deploy/modules/converters.rst
/usr/share/doc/python2-paste-deploy/modules/loadwsgi.rst
/usr/share/doc/python2-paste-deploy/news.rst
/usr/share/licenses/python2-paste-deploy
/usr/share/licenses/python2-paste-deploy/license.txt

References

Summary

In this tutorial we learn how to install python2-paste-deploy on Rocky Linux 8 using yum and dnf.