How To Install python3-CacheControl on Fedora 36

In this tutorial we learn how to install python3-CacheControl in Fedora 36. python3-CacheControl is httplib2 caching for requests

Introduction

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

What is python3-CacheControl

CacheControl is a port of the caching algorithms in httplib2 for use with requests session object. It was written because httplib2’s better support for caching is often mitigated by its lack of thread safety. The same is true of requests in terms of caching.

We can use yum or dnf to install python3-CacheControl on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-CacheControl.

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

sudo dnf -y install python3-CacheControl

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

sudo yum -y install python3-CacheControl

How To Uninstall python3-CacheControl on Fedora 36

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

sudo dnf remove python3-CacheControl

python3-CacheControl Package Contents on Fedora 36

/usr/bin/doesitcache
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/CacheControl-0.12.10-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/cachecontrol
/usr/lib/python3.10/site-packages/cachecontrol/__init__.py
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/_cmd.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/_cmd.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/adapter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/adapter.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/cache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/cache.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/controller.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/controller.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/filewrapper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/filewrapper.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/heuristics.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/heuristics.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/serialize.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/serialize.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/wrapper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/__pycache__/wrapper.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/_cmd.py
/usr/lib/python3.10/site-packages/cachecontrol/adapter.py
/usr/lib/python3.10/site-packages/cachecontrol/cache.py
/usr/lib/python3.10/site-packages/cachecontrol/caches
/usr/lib/python3.10/site-packages/cachecontrol/caches/__init__.py
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__/file_cache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__/file_cache.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__/redis_cache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/cachecontrol/caches/__pycache__/redis_cache.cpython-310.pyc
/usr/lib/python3.10/site-packages/cachecontrol/caches/file_cache.py
/usr/lib/python3.10/site-packages/cachecontrol/caches/redis_cache.py
/usr/lib/python3.10/site-packages/cachecontrol/compat.py
/usr/lib/python3.10/site-packages/cachecontrol/controller.py
/usr/lib/python3.10/site-packages/cachecontrol/filewrapper.py
/usr/lib/python3.10/site-packages/cachecontrol/heuristics.py
/usr/lib/python3.10/site-packages/cachecontrol/serialize.py
/usr/lib/python3.10/site-packages/cachecontrol/wrapper.py
/usr/share/doc/python3-CacheControl
/usr/share/doc/python3-CacheControl/README.rst
/usr/share/licenses/python3-CacheControl
/usr/share/licenses/python3-CacheControl/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-CacheControl on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).