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

In this tutorial we learn how to install python2-zope-exceptions on Rocky Linux 8. python2-zope-exceptions is Zope Exceptions

Introduction

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

What is python2-zope-exceptions

This package contains exception interfaces and implementations which are so general purpose that they don’t belong in Zope application-specific packages.

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

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

sudo dnf -y install python2-zope-exceptions

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

sudo yum -y install python2-zope-exceptions

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

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

sudo dnf remove python2-zope-exceptions

python2-zope-exceptions Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/zope
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/zope.exceptions-4.0.8-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/zope/exceptions
/usr/lib/python2.7/site-packages/zope/exceptions/__init__.py
/usr/lib/python2.7/site-packages/zope/exceptions/__init__.pyc
/usr/lib/python2.7/site-packages/zope/exceptions/__init__.pyo
/usr/lib/python2.7/site-packages/zope/exceptions/exceptionformatter.py
/usr/lib/python2.7/site-packages/zope/exceptions/exceptionformatter.pyc
/usr/lib/python2.7/site-packages/zope/exceptions/exceptionformatter.pyo
/usr/lib/python2.7/site-packages/zope/exceptions/interfaces.py
/usr/lib/python2.7/site-packages/zope/exceptions/interfaces.pyc
/usr/lib/python2.7/site-packages/zope/exceptions/interfaces.pyo
/usr/lib/python2.7/site-packages/zope/exceptions/log.py
/usr/lib/python2.7/site-packages/zope/exceptions/log.pyc
/usr/lib/python2.7/site-packages/zope/exceptions/log.pyo
/usr/share/doc/python2-zope-exceptions
/usr/share/doc/python2-zope-exceptions/CHANGES.rst
/usr/share/doc/python2-zope-exceptions/COPYRIGHT.txt
/usr/share/doc/python2-zope-exceptions/LICENSE.txt
/usr/share/doc/python2-zope-exceptions/README.rst

References

Summary

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