How To Install python3-requests-cache on Rocky Linux 8

In this tutorial we learn how to install python3-requests-cache on Rocky Linux 8. python3-requests-cache is Persistent cache for requests library

Introduction

In this tutorial we learn how to install python3-requests-cache on Rocky Linux 8.

What is python3-requests-cache

Requests-cache is a transparent persistent cache for the requests (version >= 1.1.0) library.

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

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

sudo dnf -y install python3-requests-cache

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

sudo yum -y install python3-requests-cache

How To Uninstall python3-requests-cache on Rocky Linux 8

To uninstall only the python3-requests-cache package we can use the following command:

sudo dnf remove python3-requests-cache

python3-requests-cache Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/requests_cache
/usr/lib/python3.6/site-packages/requests_cache-0.5.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/requests_cache-0.5.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/requests_cache-0.5.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/requests_cache-0.5.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/requests_cache-0.5.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/requests_cache-0.5.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/requests_cache/__init__.py
/usr/lib/python3.6/site-packages/requests_cache/__pycache__
/usr/lib/python3.6/site-packages/requests_cache/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends
/usr/lib/python3.6/site-packages/requests_cache/backends/__init__.py
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/dynamodb.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/dynamodb.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/gridfs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/gridfs.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/mongo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/mongo.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/redis.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/redis.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/sqlite.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/__pycache__/sqlite.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/base.py
/usr/lib/python3.6/site-packages/requests_cache/backends/dynamodb.py
/usr/lib/python3.6/site-packages/requests_cache/backends/gridfs.py
/usr/lib/python3.6/site-packages/requests_cache/backends/mongo.py
/usr/lib/python3.6/site-packages/requests_cache/backends/redis.py
/usr/lib/python3.6/site-packages/requests_cache/backends/sqlite.py
/usr/lib/python3.6/site-packages/requests_cache/backends/storage
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__init__.py
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/dbdict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/dbdict.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/dynamodbdict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/dynamodbdict.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/gridfspickledict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/gridfspickledict.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/mongodict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/mongodict.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/redisdict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/__pycache__/redisdict.cpython-36.pyc
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/dbdict.py
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/dynamodbdict.py
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/gridfspickledict.py
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/mongodict.py
/usr/lib/python3.6/site-packages/requests_cache/backends/storage/redisdict.py
/usr/lib/python3.6/site-packages/requests_cache/compat.py
/usr/lib/python3.6/site-packages/requests_cache/core.py
/usr/share/doc/python3-requests-cache
/usr/share/doc/python3-requests-cache/README.rst
/usr/share/doc/python3-requests-cache/html
/usr/share/doc/python3-requests-cache/html/_sources
/usr/share/doc/python3-requests-cache/html/_sources/api.rst.txt
/usr/share/doc/python3-requests-cache/html/_sources/index.rst.txt
/usr/share/doc/python3-requests-cache/html/_sources/user_guide.rst.txt
/usr/share/doc/python3-requests-cache/html/_static
/usr/share/doc/python3-requests-cache/html/_static/ajax-loader.gif
/usr/share/doc/python3-requests-cache/html/_static/basic.css
/usr/share/doc/python3-requests-cache/html/_static/classic.css
/usr/share/doc/python3-requests-cache/html/_static/comment-bright.png
/usr/share/doc/python3-requests-cache/html/_static/comment-close.png
/usr/share/doc/python3-requests-cache/html/_static/comment.png
/usr/share/doc/python3-requests-cache/html/_static/default.css
/usr/share/doc/python3-requests-cache/html/_static/doctools.js
/usr/share/doc/python3-requests-cache/html/_static/documentation_options.js
/usr/share/doc/python3-requests-cache/html/_static/down-pressed.png
/usr/share/doc/python3-requests-cache/html/_static/down.png
/usr/share/doc/python3-requests-cache/html/_static/file.png
/usr/share/doc/python3-requests-cache/html/_static/jquery-3.2.1.js
/usr/share/doc/python3-requests-cache/html/_static/jquery.js
/usr/share/doc/python3-requests-cache/html/_static/minus.png
/usr/share/doc/python3-requests-cache/html/_static/plus.png
/usr/share/doc/python3-requests-cache/html/_static/pygments.css
/usr/share/doc/python3-requests-cache/html/_static/searchtools.js
/usr/share/doc/python3-requests-cache/html/_static/sidebar.js
/usr/share/doc/python3-requests-cache/html/_static/underscore-1.3.1.js
/usr/share/doc/python3-requests-cache/html/_static/underscore.js
/usr/share/doc/python3-requests-cache/html/_static/up-pressed.png
/usr/share/doc/python3-requests-cache/html/_static/up.png
/usr/share/doc/python3-requests-cache/html/_static/websupport.js
/usr/share/doc/python3-requests-cache/html/api.html
/usr/share/doc/python3-requests-cache/html/genindex.html
/usr/share/doc/python3-requests-cache/html/index.html
/usr/share/doc/python3-requests-cache/html/objects.inv
/usr/share/doc/python3-requests-cache/html/py-modindex.html
/usr/share/doc/python3-requests-cache/html/search.html
/usr/share/doc/python3-requests-cache/html/searchindex.js
/usr/share/doc/python3-requests-cache/html/user_guide.html
/usr/share/licenses/python3-requests-cache
/usr/share/licenses/python3-requests-cache/LICENSE

References

Summary

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