How To Install python3-aenum on Fedora 36

In this tutorial we learn how to install python3-aenum in Fedora 36. python3-aenum is Advanced Enumerations, NamedTuples and NamedConstants for Python

Introduction

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

What is python3-aenum

aenum includes a Python stdlib Enum-compatible data type, as well as a metaclass-based NamedTuple implementation and a NamedConstant class. An Enum is a set of symbolic names (members) bound to unique, constant values. Within an enumeration, the members can be compared by identity, and the enumeration itself can be iterated over. Support exists for unique values, multiple values, auto-numbering, and suspension of aliasing, plus the ability to have values automatically bound to attributes. A NamedTuple is a class-based, fixed-length tuple with a name for each possible position accessible using attribute-access notation as well as the standard index notation. A NamedConstant is a class whose members cannot be rebound; it lacks all other Enum capabilities, however.

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

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

sudo dnf -y install python3-aenum

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

sudo yum -y install python3-aenum

How To Uninstall python3-aenum on Fedora 36

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

sudo dnf remove python3-aenum

python3-aenum Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/aenum
/usr/lib/python3.10/site-packages/aenum-3.1.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/aenum-3.1.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/aenum-3.1.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/aenum-3.1.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/aenum-3.1.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/aenum/CHANGES
/usr/lib/python3.10/site-packages/aenum/LICENSE
/usr/lib/python3.10/site-packages/aenum/README
/usr/lib/python3.10/site-packages/aenum/__init__.py
/usr/lib/python3.10/site-packages/aenum/__pycache__
/usr/lib/python3.10/site-packages/aenum/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test_v3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test_v3.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/doc
/usr/lib/python3.10/site-packages/aenum/doc/aenum.pdf
/usr/lib/python3.10/site-packages/aenum/doc/aenum.rst
/usr/lib/python3.10/site-packages/aenum/test.py
/usr/lib/python3.10/site-packages/aenum/test_v3.py
/usr/share/doc/python3-aenum
/usr/share/doc/python3-aenum/CHANGES
/usr/share/doc/python3-aenum/README
/usr/share/doc/python3-aenum/doc
/usr/share/doc/python3-aenum/doc/aenum.pdf
/usr/share/doc/python3-aenum/doc/aenum.rst
/usr/share/licenses/python3-aenum
/usr/share/licenses/python3-aenum/LICENSE

References

Summary

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