How To Install python3-orderedset on Fedora 36

In this tutorial we learn how to install python3-orderedset in Fedora 36. python3-orderedset is Ordered set implementation in Cython

Introduction

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

What is python3-orderedset

This package contains an ordered set implementation in Cython. Features - Works like a regular set, but remembers insertion order; - Is approximately 5 times faster than the pure Python implementation overall (and 5 times slower than set); - Compatible with Python 2.6 through 3.6.; - Supports the full set interface; - Supports some list methods, like index and getitem. - Supports set methods against iterables.

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

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

sudo dnf -y install python3-orderedset

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

sudo yum -y install python3-orderedset

How To Uninstall python3-orderedset on Fedora 36

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

sudo dnf remove python3-orderedset

python3-orderedset Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/abe53bbed7041e27bd0846e143e73c1c6a3acd
/usr/lib64/python3.10/site-packages/orderedset
/usr/lib64/python3.10/site-packages/orderedset-2.0.3-py3.10.egg-info
/usr/lib64/python3.10/site-packages/orderedset-2.0.3-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/orderedset-2.0.3-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/orderedset-2.0.3-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/orderedset-2.0.3-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/orderedset-2.0.3-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/orderedset/__init__.py
/usr/lib64/python3.10/site-packages/orderedset/__pycache__
/usr/lib64/python3.10/site-packages/orderedset/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/orderedset/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/orderedset/_orderedset.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-orderedset
/usr/share/doc/python3-orderedset/AUTHORS.html
/usr/share/doc/python3-orderedset/HISTORY.html
/usr/share/doc/python3-orderedset/README.html
/usr/share/licenses/python3-orderedset
/usr/share/licenses/python3-orderedset/LICENSE

References

Summary

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