How To Install python3-fastcache on Fedora 36

In this tutorial we learn how to install python3-fastcache in Fedora 36. python3-fastcache is C implementation of python3 lru_cache

Introduction

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

What is python3-fastcache

This package contains a C implementation of the python 3 lru_cache. It passes all tests in the standard library for functools.lru_cache.

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

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

sudo dnf -y install python3-fastcache

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

sudo yum -y install python3-fastcache

How To Uninstall python3-fastcache on Fedora 36

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

sudo dnf remove python3-fastcache

python3-fastcache Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/e87241eef5422039c4190da8927fc739b5ee58
/usr/lib64/python3.10/site-packages/fastcache
/usr/lib64/python3.10/site-packages/fastcache-1.1.0.dist-info
/usr/lib64/python3.10/site-packages/fastcache-1.1.0.dist-info/INSTALLER
/usr/lib64/python3.10/site-packages/fastcache-1.1.0.dist-info/LICENSE
/usr/lib64/python3.10/site-packages/fastcache-1.1.0.dist-info/METADATA
/usr/lib64/python3.10/site-packages/fastcache-1.1.0.dist-info/WHEEL
/usr/lib64/python3.10/site-packages/fastcache-1.1.0.dist-info/top_level.txt
/usr/lib64/python3.10/site-packages/fastcache/__init__.py
/usr/lib64/python3.10/site-packages/fastcache/__pycache__
/usr/lib64/python3.10/site-packages/fastcache/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/fastcache/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/fastcache/__pycache__/benchmark.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/fastcache/__pycache__/benchmark.cpython-310.pyc
/usr/lib64/python3.10/site-packages/fastcache/_lrucache.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/fastcache/benchmark.py
/usr/share/doc/python3-fastcache
/usr/share/doc/python3-fastcache/CHANGELOG
/usr/share/doc/python3-fastcache/README.md
/usr/share/licenses/python3-fastcache
/usr/share/licenses/python3-fastcache/LICENSE

References

Summary

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