How To Install python3-webtest on Rocky Linux 8

In this tutorial we learn how to install python3-webtest on Rocky Linux 8. python3-webtest is Helper to test WSGI applications

Introduction

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

What is python3-webtest

WebTest wraps any WSGI application and makes it easy to send test requests to that application, without starting up an HTTP server. This provides convenient full-stack testing of applications written with any WSGI-compatible framework.

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

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

sudo dnf -y install python3-webtest

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

sudo yum -y install python3-webtest

How To Uninstall python3-webtest on Rocky Linux 8

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

sudo dnf remove python3-webtest

python3-webtest Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/WebTest-2.0.33-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/webtest
/usr/lib/python3.6/site-packages/webtest/__init__.py
/usr/lib/python3.6/site-packages/webtest/__pycache__
/usr/lib/python3.6/site-packages/webtest/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/app.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/app.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/debugapp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/debugapp.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/ext.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/ext.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/forms.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/forms.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/http.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/http.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/lint.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/lint.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/response.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/response.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/sel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/sel.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/webtest/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/webtest/app.py
/usr/lib/python3.6/site-packages/webtest/compat.py
/usr/lib/python3.6/site-packages/webtest/debugapp.py
/usr/lib/python3.6/site-packages/webtest/ext.py
/usr/lib/python3.6/site-packages/webtest/forms.py
/usr/lib/python3.6/site-packages/webtest/http.py
/usr/lib/python3.6/site-packages/webtest/lint.py
/usr/lib/python3.6/site-packages/webtest/response.py
/usr/lib/python3.6/site-packages/webtest/sel.py
/usr/lib/python3.6/site-packages/webtest/utils.py
/usr/share/doc/python3-webtest
/usr/share/doc/python3-webtest/Makefile
/usr/share/doc/python3-webtest/api.rst
/usr/share/doc/python3-webtest/changelog.rst
/usr/share/doc/python3-webtest/conf.py
/usr/share/doc/python3-webtest/contributing.rst
/usr/share/doc/python3-webtest/debugapp.rst
/usr/share/doc/python3-webtest/form.html
/usr/share/doc/python3-webtest/forms.rst
/usr/share/doc/python3-webtest/index.rst
/usr/share/doc/python3-webtest/testapp.rst
/usr/share/doc/python3-webtest/testresponse.rst
/usr/share/doc/python3-webtest/webtest.rst

References

Summary

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