How To Install python2-zope-schema on Rocky Linux 8

In this tutorial we learn how to install python2-zope-schema on Rocky Linux 8. python2-zope-schema is Zope 3 schemas

Introduction

In this tutorial we learn how to install python2-zope-schema on Rocky Linux 8.

What is python2-zope-schema

This package is a zope.interface extension for defining data schemas.

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

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

sudo dnf -y install python2-zope-schema

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

sudo yum -y install python2-zope-schema

How To Uninstall python2-zope-schema on Rocky Linux 8

To uninstall only the python2-zope-schema package we can use the following command:

sudo dnf remove python2-zope-schema

python2-zope-schema Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/zope.schema-4.4.2-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/zope/schema
/usr/lib/python2.7/site-packages/zope/schema/__init__.py
/usr/lib/python2.7/site-packages/zope/schema/__init__.pyc
/usr/lib/python2.7/site-packages/zope/schema/__init__.pyo
/usr/lib/python2.7/site-packages/zope/schema/_bootstrapfields.py
/usr/lib/python2.7/site-packages/zope/schema/_bootstrapfields.pyc
/usr/lib/python2.7/site-packages/zope/schema/_bootstrapfields.pyo
/usr/lib/python2.7/site-packages/zope/schema/_bootstrapinterfaces.py
/usr/lib/python2.7/site-packages/zope/schema/_bootstrapinterfaces.pyc
/usr/lib/python2.7/site-packages/zope/schema/_bootstrapinterfaces.pyo
/usr/lib/python2.7/site-packages/zope/schema/_compat.py
/usr/lib/python2.7/site-packages/zope/schema/_compat.pyc
/usr/lib/python2.7/site-packages/zope/schema/_compat.pyo
/usr/lib/python2.7/site-packages/zope/schema/_field.py
/usr/lib/python2.7/site-packages/zope/schema/_field.pyc
/usr/lib/python2.7/site-packages/zope/schema/_field.pyo
/usr/lib/python2.7/site-packages/zope/schema/_messageid.py
/usr/lib/python2.7/site-packages/zope/schema/_messageid.pyc
/usr/lib/python2.7/site-packages/zope/schema/_messageid.pyo
/usr/lib/python2.7/site-packages/zope/schema/_schema.py
/usr/lib/python2.7/site-packages/zope/schema/_schema.pyc
/usr/lib/python2.7/site-packages/zope/schema/_schema.pyo
/usr/lib/python2.7/site-packages/zope/schema/accessors.py
/usr/lib/python2.7/site-packages/zope/schema/accessors.pyc
/usr/lib/python2.7/site-packages/zope/schema/accessors.pyo
/usr/lib/python2.7/site-packages/zope/schema/fieldproperty.py
/usr/lib/python2.7/site-packages/zope/schema/fieldproperty.pyc
/usr/lib/python2.7/site-packages/zope/schema/fieldproperty.pyo
/usr/lib/python2.7/site-packages/zope/schema/interfaces.py
/usr/lib/python2.7/site-packages/zope/schema/interfaces.pyc
/usr/lib/python2.7/site-packages/zope/schema/interfaces.pyo
/usr/lib/python2.7/site-packages/zope/schema/vocabulary.py
/usr/lib/python2.7/site-packages/zope/schema/vocabulary.pyc
/usr/lib/python2.7/site-packages/zope/schema/vocabulary.pyo
/usr/share/doc/python2-zope-schema
/usr/share/doc/python2-zope-schema/CHANGES.rst
/usr/share/doc/python2-zope-schema/COPYRIGHT.txt
/usr/share/doc/python2-zope-schema/README.rst
/usr/share/doc/python2-zope-schema/html
/usr/share/doc/python2-zope-schema/html/_sources
/usr/share/doc/python2-zope-schema/html/_sources/fields.rst.txt
/usr/share/doc/python2-zope-schema/html/_sources/hacking.rst.txt
/usr/share/doc/python2-zope-schema/html/_sources/index.rst.txt
/usr/share/doc/python2-zope-schema/html/_sources/narr.rst.txt
/usr/share/doc/python2-zope-schema/html/_sources/sources.rst.txt
/usr/share/doc/python2-zope-schema/html/_sources/validation.rst.txt
/usr/share/doc/python2-zope-schema/html/_static
/usr/share/doc/python2-zope-schema/html/_static/ajax-loader.gif
/usr/share/doc/python2-zope-schema/html/_static/basic.css
/usr/share/doc/python2-zope-schema/html/_static/classic.css
/usr/share/doc/python2-zope-schema/html/_static/comment-bright.png
/usr/share/doc/python2-zope-schema/html/_static/comment-close.png
/usr/share/doc/python2-zope-schema/html/_static/comment.png
/usr/share/doc/python2-zope-schema/html/_static/default.css
/usr/share/doc/python2-zope-schema/html/_static/doctools.js
/usr/share/doc/python2-zope-schema/html/_static/documentation_options.js
/usr/share/doc/python2-zope-schema/html/_static/down-pressed.png
/usr/share/doc/python2-zope-schema/html/_static/down.png
/usr/share/doc/python2-zope-schema/html/_static/file.png
/usr/share/doc/python2-zope-schema/html/_static/jquery-3.2.1.js
/usr/share/doc/python2-zope-schema/html/_static/jquery.js
/usr/share/doc/python2-zope-schema/html/_static/minus.png
/usr/share/doc/python2-zope-schema/html/_static/plus.png
/usr/share/doc/python2-zope-schema/html/_static/pygments.css
/usr/share/doc/python2-zope-schema/html/_static/searchtools.js
/usr/share/doc/python2-zope-schema/html/_static/sidebar.js
/usr/share/doc/python2-zope-schema/html/_static/underscore-1.3.1.js
/usr/share/doc/python2-zope-schema/html/_static/underscore.js
/usr/share/doc/python2-zope-schema/html/_static/up-pressed.png
/usr/share/doc/python2-zope-schema/html/_static/up.png
/usr/share/doc/python2-zope-schema/html/_static/websupport.js
/usr/share/doc/python2-zope-schema/html/fields.html
/usr/share/doc/python2-zope-schema/html/genindex.html
/usr/share/doc/python2-zope-schema/html/hacking.html
/usr/share/doc/python2-zope-schema/html/index.html
/usr/share/doc/python2-zope-schema/html/narr.html
/usr/share/doc/python2-zope-schema/html/objects.inv
/usr/share/doc/python2-zope-schema/html/search.html
/usr/share/doc/python2-zope-schema/html/searchindex.js
/usr/share/doc/python2-zope-schema/html/sources.html
/usr/share/doc/python2-zope-schema/html/validation.html
/usr/share/licenses/python2-zope-schema
/usr/share/licenses/python2-zope-schema/LICENSE.txt

References

Summary

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