How To Install python3-requests-cache on Fedora 36

In this tutorial we learn how to install python3-requests-cache in Fedora 36. python3-requests-cache is Persistent cache for requests library

Introduction

In this tutorial we learn how to install python3-requests-cache on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/usr/lib/python3.10/site-packages/requests_cache
/usr/lib/python3.10/site-packages/requests_cache-0.5.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/requests_cache-0.5.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/requests_cache-0.5.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/requests_cache-0.5.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/requests_cache-0.5.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/requests_cache-0.5.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/requests_cache/__init__.py
/usr/lib/python3.10/site-packages/requests_cache/__pycache__
/usr/lib/python3.10/site-packages/requests_cache/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends
/usr/lib/python3.10/site-packages/requests_cache/backends/__init__.py
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/dynamodb.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/dynamodb.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/gridfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/gridfs.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/mongo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/mongo.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/redis.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/redis.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/sqlite.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/__pycache__/sqlite.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/base.py
/usr/lib/python3.10/site-packages/requests_cache/backends/dynamodb.py
/usr/lib/python3.10/site-packages/requests_cache/backends/gridfs.py
/usr/lib/python3.10/site-packages/requests_cache/backends/mongo.py
/usr/lib/python3.10/site-packages/requests_cache/backends/redis.py
/usr/lib/python3.10/site-packages/requests_cache/backends/sqlite.py
/usr/lib/python3.10/site-packages/requests_cache/backends/storage
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__init__.py
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/dbdict.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/dbdict.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/dynamodbdict.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/dynamodbdict.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/gridfspickledict.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/gridfspickledict.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/mongodict.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/mongodict.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/redisdict.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/__pycache__/redisdict.cpython-310.pyc
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/dbdict.py
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/dynamodbdict.py
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/gridfspickledict.py
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/mongodict.py
/usr/lib/python3.10/site-packages/requests_cache/backends/storage/redisdict.py
/usr/lib/python3.10/site-packages/requests_cache/compat.py
/usr/lib/python3.10/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/basic.css
/usr/share/doc/python3-requests-cache/html/_static/classic.css
/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/file.png
/usr/share/doc/python3-requests-cache/html/_static/jquery-3.5.1.js
/usr/share/doc/python3-requests-cache/html/_static/jquery.js
/usr/share/doc/python3-requests-cache/html/_static/language_data.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.13.1.js
/usr/share/doc/python3-requests-cache/html/_static/underscore.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).