How To Install python2-dogpile-cache on Rocky Linux 8

In this tutorial we learn how to install python2-dogpile-cache on Rocky Linux 8. python2-dogpile-cache is A caching front-end based on the Dogpile lock

Introduction

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

What is python2-dogpile-cache

Dogpile consists of two subsystems, one building on top of the other. dogpile provides the concept of a “dogpile lock”, a control structure which allows a single thread of execution to be selected as the “creator” of some resource, while allowing other threads of execution to refer to the previous version of this resource as the creation proceeds; if there is no previous version, then those threads block until the object is available. dogpile.cache is a caching API which provides a generic interface to caching backends of any variety, and additionally provides API hooks which integrate these cache backends with the locking mechanism of dogpile. Overall, dogpile.cache is intended as a replacement to the Beaker caching system, the internals of which are written by the same author. All the ideas of Beaker which “work” are re- implemented in dogpile.cache in a more efficient and succinct manner, and all the cruft (Beaker’s internals were first written in 2005) relegated to the trash heap.

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

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

sudo dnf -y install python2-dogpile-cache

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

sudo yum -y install python2-dogpile-cache

How To Uninstall python2-dogpile-cache on Rocky Linux 8

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

sudo dnf remove python2-dogpile-cache

python2-dogpile-cache Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/dogpile
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/dogpile.cache-0.6.8-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/dogpile/__init__.py
/usr/lib/python2.7/site-packages/dogpile/__init__.pyc
/usr/lib/python2.7/site-packages/dogpile/__init__.pyo
/usr/lib/python2.7/site-packages/dogpile/cache
/usr/lib/python2.7/site-packages/dogpile/cache/__init__.py
/usr/lib/python2.7/site-packages/dogpile/cache/__init__.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/__init__.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/api.py
/usr/lib/python2.7/site-packages/dogpile/cache/api.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/api.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/backends
/usr/lib/python2.7/site-packages/dogpile/cache/backends/__init__.py
/usr/lib/python2.7/site-packages/dogpile/cache/backends/__init__.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/backends/__init__.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/backends/file.py
/usr/lib/python2.7/site-packages/dogpile/cache/backends/file.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/backends/file.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/backends/memcached.py
/usr/lib/python2.7/site-packages/dogpile/cache/backends/memcached.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/backends/memcached.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/backends/memory.py
/usr/lib/python2.7/site-packages/dogpile/cache/backends/memory.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/backends/memory.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/backends/null.py
/usr/lib/python2.7/site-packages/dogpile/cache/backends/null.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/backends/null.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/backends/redis.py
/usr/lib/python2.7/site-packages/dogpile/cache/backends/redis.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/backends/redis.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/exception.py
/usr/lib/python2.7/site-packages/dogpile/cache/exception.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/exception.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/plugins
/usr/lib/python2.7/site-packages/dogpile/cache/plugins/__init__.py
/usr/lib/python2.7/site-packages/dogpile/cache/plugins/__init__.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/plugins/__init__.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/plugins/mako_cache.py
/usr/lib/python2.7/site-packages/dogpile/cache/plugins/mako_cache.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/plugins/mako_cache.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/proxy.py
/usr/lib/python2.7/site-packages/dogpile/cache/proxy.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/proxy.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/region.py
/usr/lib/python2.7/site-packages/dogpile/cache/region.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/region.pyo
/usr/lib/python2.7/site-packages/dogpile/cache/util.py
/usr/lib/python2.7/site-packages/dogpile/cache/util.pyc
/usr/lib/python2.7/site-packages/dogpile/cache/util.pyo
/usr/lib/python2.7/site-packages/dogpile/core.py
/usr/lib/python2.7/site-packages/dogpile/core.pyc
/usr/lib/python2.7/site-packages/dogpile/core.pyo
/usr/lib/python2.7/site-packages/dogpile/lock.py
/usr/lib/python2.7/site-packages/dogpile/lock.pyc
/usr/lib/python2.7/site-packages/dogpile/lock.pyo
/usr/lib/python2.7/site-packages/dogpile/util
/usr/lib/python2.7/site-packages/dogpile/util/__init__.py
/usr/lib/python2.7/site-packages/dogpile/util/__init__.pyc
/usr/lib/python2.7/site-packages/dogpile/util/__init__.pyo
/usr/lib/python2.7/site-packages/dogpile/util/compat.py
/usr/lib/python2.7/site-packages/dogpile/util/compat.pyc
/usr/lib/python2.7/site-packages/dogpile/util/compat.pyo
/usr/lib/python2.7/site-packages/dogpile/util/langhelpers.py
/usr/lib/python2.7/site-packages/dogpile/util/langhelpers.pyc
/usr/lib/python2.7/site-packages/dogpile/util/langhelpers.pyo
/usr/lib/python2.7/site-packages/dogpile/util/nameregistry.py
/usr/lib/python2.7/site-packages/dogpile/util/nameregistry.pyc
/usr/lib/python2.7/site-packages/dogpile/util/nameregistry.pyo
/usr/lib/python2.7/site-packages/dogpile/util/readwrite_lock.py
/usr/lib/python2.7/site-packages/dogpile/util/readwrite_lock.pyc
/usr/lib/python2.7/site-packages/dogpile/util/readwrite_lock.pyo
/usr/share/doc/python2-dogpile-cache
/usr/share/doc/python2-dogpile-cache/README.rst
/usr/share/licenses/python2-dogpile-cache
/usr/share/licenses/python2-dogpile-cache/LICENSE

References

Summary

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