How To Install python3-smmap on Rocky Linux 8

In this tutorial we learn how to install python3-smmap on Rocky Linux 8. python3-smmap is Sliding window memory map manager

Introduction

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

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. Python 3 version.

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

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

sudo dnf -y install python3-smmap

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

sudo yum -y install python3-smmap

How To Uninstall python3-smmap on Rocky Linux 8

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

sudo dnf remove python3-smmap

python3-smmap Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/smmap
/usr/lib/python3.6/site-packages/smmap-3.0.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/smmap-3.0.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/smmap-3.0.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/smmap-3.0.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/smmap-3.0.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/smmap-3.0.1-py3.6.egg-info/zip-safe
/usr/lib/python3.6/site-packages/smmap/__init__.py
/usr/lib/python3.6/site-packages/smmap/__pycache__
/usr/lib/python3.6/site-packages/smmap/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/buf.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/buf.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/exc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/exc.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/mman.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/mman.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/buf.py
/usr/lib/python3.6/site-packages/smmap/exc.py
/usr/lib/python3.6/site-packages/smmap/mman.py
/usr/lib/python3.6/site-packages/smmap/test
/usr/lib/python3.6/site-packages/smmap/test/__init__.py
/usr/lib/python3.6/site-packages/smmap/test/__pycache__
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/lib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/lib.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_buf.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_buf.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_mman.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_mman.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_tutorial.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_tutorial.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/smmap/test/__pycache__/test_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/smmap/test/lib.py
/usr/lib/python3.6/site-packages/smmap/test/test_buf.py
/usr/lib/python3.6/site-packages/smmap/test/test_mman.py
/usr/lib/python3.6/site-packages/smmap/test/test_tutorial.py
/usr/lib/python3.6/site-packages/smmap/test/test_util.py
/usr/lib/python3.6/site-packages/smmap/util.py

References

Summary

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