How To Install python3-attrs on Fedora 36

In this tutorial we learn how to install python3-attrs in Fedora 36. python3-attrs is Python attributes without boilerplate

Introduction

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

What is python3-attrs

attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.

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

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

sudo dnf -y install python3-attrs

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

sudo yum -y install python3-attrs

How To Uninstall python3-attrs on Fedora 36

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

sudo dnf remove python3-attrs

python3-attrs Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/attr
/usr/lib/python3.10/site-packages/attr/__init__.py
/usr/lib/python3.10/site-packages/attr/__init__.pyi
/usr/lib/python3.10/site-packages/attr/__pycache__
/usr/lib/python3.10/site-packages/attr/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_cmp.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_cmp.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_config.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_funcs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_funcs.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_make.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_make.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_next_gen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_next_gen.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_version_info.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/_version_info.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/converters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/converters.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/filters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/filters.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/setters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/setters.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/validators.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attr/__pycache__/validators.cpython-310.pyc
/usr/lib/python3.10/site-packages/attr/_cmp.py
/usr/lib/python3.10/site-packages/attr/_cmp.pyi
/usr/lib/python3.10/site-packages/attr/_compat.py
/usr/lib/python3.10/site-packages/attr/_config.py
/usr/lib/python3.10/site-packages/attr/_funcs.py
/usr/lib/python3.10/site-packages/attr/_make.py
/usr/lib/python3.10/site-packages/attr/_next_gen.py
/usr/lib/python3.10/site-packages/attr/_version_info.py
/usr/lib/python3.10/site-packages/attr/_version_info.pyi
/usr/lib/python3.10/site-packages/attr/converters.py
/usr/lib/python3.10/site-packages/attr/converters.pyi
/usr/lib/python3.10/site-packages/attr/exceptions.py
/usr/lib/python3.10/site-packages/attr/exceptions.pyi
/usr/lib/python3.10/site-packages/attr/filters.py
/usr/lib/python3.10/site-packages/attr/filters.pyi
/usr/lib/python3.10/site-packages/attr/py.typed
/usr/lib/python3.10/site-packages/attr/setters.py
/usr/lib/python3.10/site-packages/attr/setters.pyi
/usr/lib/python3.10/site-packages/attr/validators.py
/usr/lib/python3.10/site-packages/attr/validators.pyi
/usr/lib/python3.10/site-packages/attrs
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/attrs-21.4.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/attrs/__init__.py
/usr/lib/python3.10/site-packages/attrs/__init__.pyi
/usr/lib/python3.10/site-packages/attrs/__pycache__
/usr/lib/python3.10/site-packages/attrs/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/converters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/converters.cpython-310.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/filters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/filters.cpython-310.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/setters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/setters.cpython-310.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/validators.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/attrs/__pycache__/validators.cpython-310.pyc
/usr/lib/python3.10/site-packages/attrs/converters.py
/usr/lib/python3.10/site-packages/attrs/exceptions.py
/usr/lib/python3.10/site-packages/attrs/filters.py
/usr/lib/python3.10/site-packages/attrs/py.typed
/usr/lib/python3.10/site-packages/attrs/setters.py
/usr/lib/python3.10/site-packages/attrs/validators.py
/usr/share/doc/python3-attrs
/usr/share/doc/python3-attrs/AUTHORS.rst
/usr/share/doc/python3-attrs/README.rst
/usr/share/licenses/python3-attrs
/usr/share/licenses/python3-attrs/LICENSE

References

Summary

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