How To Install python3-pyxattr on Fedora 36

In this tutorial we learn how to install python3-pyxattr in Fedora 36. python3-pyxattr is Extended attributes library wrapper for Python

Introduction

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

What is python3-pyxattr

Python extension module wrapper for libattr. It allows to query, list, add and remove extended attributes from files and directories.

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

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

sudo dnf -y install python3-pyxattr

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

sudo yum -y install python3-pyxattr

How To Uninstall python3-pyxattr on Fedora 36

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

sudo dnf remove python3-pyxattr

python3-pyxattr Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/3338a141402b0eb7a968bffd37a03549c133e8
/usr/lib64/python3.10/site-packages/pyxattr-0.7.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pyxattr-0.7.2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pyxattr-0.7.2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pyxattr-0.7.2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pyxattr-0.7.2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/xattr.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-pyxattr
/usr/share/doc/python3-pyxattr/NEWS
/usr/share/doc/python3-pyxattr/README.md
/usr/share/licenses/python3-pyxattr
/usr/share/licenses/python3-pyxattr/COPYING

References

Summary

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