How To Install python3-multi_key_dict on Rocky Linux 8

In this tutorial we learn how to install python3-multi_key_dict on Rocky Linux 8. python3-multi_key_dict is Multi-key dictionary implementation in Python

Introduction

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

What is python3-multi_key_dict

Implementation of a multi-key dictionary, i.e. (key1[,key2, ..]) => value This dictionary has a similar interface to the standard dictionary => but is extended to support multiple keys referring to the same element.

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

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

sudo dnf -y install python3-multi_key_dict

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

sudo yum -y install python3-multi_key_dict

How To Uninstall python3-multi_key_dict on Rocky Linux 8

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

sudo dnf remove python3-multi_key_dict

python3-multi_key_dict Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/__pycache__/multi_key_dict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/__pycache__/multi_key_dict.cpython-36.pyc
/usr/lib/python3.6/site-packages/multi_key_dict-2.0.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/multi_key_dict.py
/usr/share/doc/python3-multi_key_dict
/usr/share/doc/python3-multi_key_dict/README.txt
/usr/share/licenses/python3-multi_key_dict
/usr/share/licenses/python3-multi_key_dict/LICENSE

References

Summary

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