How To Install python2-venusian on Rocky Linux 8

In this tutorial we learn how to install python2-venusian on Rocky Linux 8. python2-venusian is A library for deferring decorator actions

Introduction

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

What is python2-venusian

Venusian is a library which allows framework authors to defer decorator actions. Instead of taking actions when a function (or class) decorator is executed at import time, you can defer the action usually taken by the decorator until a separate “scan” phase.

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

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

sudo dnf -y install python2-venusian

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

sudo yum -y install python2-venusian

How To Uninstall python2-venusian on Rocky Linux 8

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

sudo dnf remove python2-venusian

python2-venusian Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/venusian
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/venusian-1.2.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/venusian/__init__.py
/usr/lib/python2.7/site-packages/venusian/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/advice.py
/usr/lib/python2.7/site-packages/venusian/advice.pyc
/usr/lib/python2.7/site-packages/venusian/advice.pyo
/usr/lib/python2.7/site-packages/venusian/compat.py
/usr/lib/python2.7/site-packages/venusian/compat.pyc
/usr/lib/python2.7/site-packages/venusian/compat.pyo
/usr/lib/python2.7/site-packages/venusian/tests
/usr/lib/python2.7/site-packages/venusian/tests/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror/will_cause_import_error.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror/will_cause_import_error.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror/will_cause_import_error.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/will_cause_import_error
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/will_cause_import_error/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/will_cause_import_error/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/attrerror_package/will_cause_import_error/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/category.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/category.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/category.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/class_and_method.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/class_and_method.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/class_and_method.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/classdecorator.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/classdecorator.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/classdecorator.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/mock.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/mock.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/mock.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/one.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/one.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/one.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/two.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/two.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/import_and_scan/two.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror/will_cause_import_error.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror/will_cause_import_error.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror/will_cause_import_error.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/will_cause_import_error
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/will_cause_import_error/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/will_cause_import_error/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importerror_package/will_cause_import_error/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/one.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/one.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/one.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/two.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/two.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/importonly/two.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/inheritance.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/inheritance.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/inheritance.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting1.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting1.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting1.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting2.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting2.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting2.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting3.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting3.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting3.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting4.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting4.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting4.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting5.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting5.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/lifting5.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/subsub1
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/subsub1/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/subsub1/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub1/subsub1/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/subsub2
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/subsub2/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/subsub2/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/nested/sub2/subsub2/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/module.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/module.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/module.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/module2.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/module2.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/one/module2.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/module.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/module.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/module.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/subpackage
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/subpackage/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/subpackage/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/pyc/subpackage/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subclassing.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subclassing.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subclassing.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage/will_cause_import_error.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage/will_cause_import_error.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/childpackage/will_cause_import_error.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/mod2.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/mod2.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/subpackages/mod2.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/__init__.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/__init__.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/__init__.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/mod1.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/mod1.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/mod1.pyo
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/mod2.py
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/mod2.pyc
/usr/lib/python2.7/site-packages/venusian/tests/fixtures/two/mod2.pyo
/usr/lib/python2.7/site-packages/venusian/tests/test_advice.py
/usr/lib/python2.7/site-packages/venusian/tests/test_advice.pyc
/usr/lib/python2.7/site-packages/venusian/tests/test_advice.pyo
/usr/lib/python2.7/site-packages/venusian/tests/test_venusian.py
/usr/lib/python2.7/site-packages/venusian/tests/test_venusian.pyc
/usr/lib/python2.7/site-packages/venusian/tests/test_venusian.pyo
/usr/share/doc/python2-venusian
/usr/share/doc/python2-venusian/README.rst
/usr/share/licenses/python2-venusian
/usr/share/licenses/python2-venusian/LICENSE.txt

References

Summary

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