How To Install python3-smmap on Fedora 36

In this tutorial we learn how to install python3-smmap in Fedora 36. python3-smmap is Sliding window memory map manager

Introduction

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

What is python3-smmap

Smmap wraps an interface around mmap and tracks the mapped files as well as the amount of clients who use it. If the system runs out of resources, or if a memory limit is reached, it will automatically unload unused maps to allow continued operation.

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

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

sudo dnf -y install python3-smmap

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

sudo yum -y install python3-smmap

How To Uninstall python3-smmap on Fedora 36

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

sudo dnf remove python3-smmap

python3-smmap Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/smmap
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/smmap-5.0.0.dist-info/zip-safe
/usr/lib/python3.10/site-packages/smmap/__init__.py
/usr/lib/python3.10/site-packages/smmap/__pycache__
/usr/lib/python3.10/site-packages/smmap/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/buf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/buf.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/mman.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/mman.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/buf.py
/usr/lib/python3.10/site-packages/smmap/mman.py
/usr/lib/python3.10/site-packages/smmap/test
/usr/lib/python3.10/site-packages/smmap/test/__init__.py
/usr/lib/python3.10/site-packages/smmap/test/__pycache__
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/lib.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/lib.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_buf.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_buf.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_mman.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_mman.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_tutorial.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_tutorial.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smmap/test/__pycache__/test_util.cpython-310.pyc
/usr/lib/python3.10/site-packages/smmap/test/lib.py
/usr/lib/python3.10/site-packages/smmap/test/test_buf.py
/usr/lib/python3.10/site-packages/smmap/test/test_mman.py
/usr/lib/python3.10/site-packages/smmap/test/test_tutorial.py
/usr/lib/python3.10/site-packages/smmap/test/test_util.py
/usr/lib/python3.10/site-packages/smmap/util.py
/usr/share/doc/python3-smmap
/usr/share/doc/python3-smmap/README.md

References

Summary

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