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

In this tutorial we learn how to install python2-zope-interface on Rocky Linux 8. python2-zope-interface is Zope 3 Interface Infrastructure

Introduction

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

What is python2-zope-interface

Interfaces are a mechanism for labeling objects as conforming to a given API or contract. This is a separate distribution of the zope.interface package used in Zope 3.

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

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

sudo dnf -y install python2-zope-interface

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

sudo yum -y install python2-zope-interface

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

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

sudo dnf remove python2-zope-interface

python2-zope-interface Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/b82f442489eebd0fe3055a771bfe4a83509221
/usr/lib64/python2.7/site-packages/zope
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7-nspkg.pth
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/SOURCES.txt
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/dependency_links.txt
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/namespace_packages.txt
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/not-zip-safe
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/requires.txt
/usr/lib64/python2.7/site-packages/zope.interface-4.6.0-py2.7.egg-info/top_level.txt
/usr/lib64/python2.7/site-packages/zope/interface
/usr/lib64/python2.7/site-packages/zope/interface/__init__.py
/usr/lib64/python2.7/site-packages/zope/interface/__init__.pyc
/usr/lib64/python2.7/site-packages/zope/interface/__init__.pyo
/usr/lib64/python2.7/site-packages/zope/interface/_compat.py
/usr/lib64/python2.7/site-packages/zope/interface/_compat.pyc
/usr/lib64/python2.7/site-packages/zope/interface/_compat.pyo
/usr/lib64/python2.7/site-packages/zope/interface/_flatten.py
/usr/lib64/python2.7/site-packages/zope/interface/_flatten.pyc
/usr/lib64/python2.7/site-packages/zope/interface/_flatten.pyo
/usr/lib64/python2.7/site-packages/zope/interface/_zope_interface_coptimizations.so
/usr/lib64/python2.7/site-packages/zope/interface/adapter.py
/usr/lib64/python2.7/site-packages/zope/interface/adapter.pyc
/usr/lib64/python2.7/site-packages/zope/interface/adapter.pyo
/usr/lib64/python2.7/site-packages/zope/interface/advice.py
/usr/lib64/python2.7/site-packages/zope/interface/advice.pyc
/usr/lib64/python2.7/site-packages/zope/interface/advice.pyo
/usr/lib64/python2.7/site-packages/zope/interface/common
/usr/lib64/python2.7/site-packages/zope/interface/common/__init__.py
/usr/lib64/python2.7/site-packages/zope/interface/common/__init__.pyc
/usr/lib64/python2.7/site-packages/zope/interface/common/__init__.pyo
/usr/lib64/python2.7/site-packages/zope/interface/common/idatetime.py
/usr/lib64/python2.7/site-packages/zope/interface/common/idatetime.pyc
/usr/lib64/python2.7/site-packages/zope/interface/common/idatetime.pyo
/usr/lib64/python2.7/site-packages/zope/interface/common/interfaces.py
/usr/lib64/python2.7/site-packages/zope/interface/common/interfaces.pyc
/usr/lib64/python2.7/site-packages/zope/interface/common/interfaces.pyo
/usr/lib64/python2.7/site-packages/zope/interface/common/mapping.py
/usr/lib64/python2.7/site-packages/zope/interface/common/mapping.pyc
/usr/lib64/python2.7/site-packages/zope/interface/common/mapping.pyo
/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.py
/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyc
/usr/lib64/python2.7/site-packages/zope/interface/common/sequence.pyo
/usr/lib64/python2.7/site-packages/zope/interface/declarations.py
/usr/lib64/python2.7/site-packages/zope/interface/declarations.pyc
/usr/lib64/python2.7/site-packages/zope/interface/declarations.pyo
/usr/lib64/python2.7/site-packages/zope/interface/document.py
/usr/lib64/python2.7/site-packages/zope/interface/document.pyc
/usr/lib64/python2.7/site-packages/zope/interface/document.pyo
/usr/lib64/python2.7/site-packages/zope/interface/exceptions.py
/usr/lib64/python2.7/site-packages/zope/interface/exceptions.pyc
/usr/lib64/python2.7/site-packages/zope/interface/exceptions.pyo
/usr/lib64/python2.7/site-packages/zope/interface/interface.py
/usr/lib64/python2.7/site-packages/zope/interface/interface.pyc
/usr/lib64/python2.7/site-packages/zope/interface/interface.pyo
/usr/lib64/python2.7/site-packages/zope/interface/interfaces.py
/usr/lib64/python2.7/site-packages/zope/interface/interfaces.pyc
/usr/lib64/python2.7/site-packages/zope/interface/interfaces.pyo
/usr/lib64/python2.7/site-packages/zope/interface/registry.py
/usr/lib64/python2.7/site-packages/zope/interface/registry.pyc
/usr/lib64/python2.7/site-packages/zope/interface/registry.pyo
/usr/lib64/python2.7/site-packages/zope/interface/ro.py
/usr/lib64/python2.7/site-packages/zope/interface/ro.pyc
/usr/lib64/python2.7/site-packages/zope/interface/ro.pyo
/usr/lib64/python2.7/site-packages/zope/interface/verify.py
/usr/lib64/python2.7/site-packages/zope/interface/verify.pyc
/usr/lib64/python2.7/site-packages/zope/interface/verify.pyo
/usr/share/doc/python2-zope-interface
/usr/share/doc/python2-zope-interface/CHANGES.rst
/usr/share/doc/python2-zope-interface/COPYRIGHT.txt
/usr/share/doc/python2-zope-interface/README.rst
/usr/share/doc/python2-zope-interface/docs
/usr/share/doc/python2-zope-interface/docs/Makefile
/usr/share/doc/python2-zope-interface/docs/README.rst
/usr/share/doc/python2-zope-interface/docs/README.ru.rst
/usr/share/doc/python2-zope-interface/docs/_static
/usr/share/doc/python2-zope-interface/docs/_static/.gitignore
/usr/share/doc/python2-zope-interface/docs/adapter.rst
/usr/share/doc/python2-zope-interface/docs/adapter.ru.rst
/usr/share/doc/python2-zope-interface/docs/api
/usr/share/doc/python2-zope-interface/docs/api/adapters.rst
/usr/share/doc/python2-zope-interface/docs/api/common.rst
/usr/share/doc/python2-zope-interface/docs/api/components.rst
/usr/share/doc/python2-zope-interface/docs/api/declarations.rst
/usr/share/doc/python2-zope-interface/docs/api/index.rst
/usr/share/doc/python2-zope-interface/docs/api/specifications.rst
/usr/share/doc/python2-zope-interface/docs/changes.rst
/usr/share/doc/python2-zope-interface/docs/conf.py
/usr/share/doc/python2-zope-interface/docs/foodforthought.rst
/usr/share/doc/python2-zope-interface/docs/hacking.rst
/usr/share/doc/python2-zope-interface/docs/human.rst
/usr/share/doc/python2-zope-interface/docs/human.ru.rst
/usr/share/doc/python2-zope-interface/docs/index.rst
/usr/share/doc/python2-zope-interface/docs/make.bat
/usr/share/doc/python2-zope-interface/docs/verify.rst
/usr/share/licenses/python2-zope-interface
/usr/share/licenses/python2-zope-interface/LICENSE.txt

References

Summary

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