How To Install python3-pyxattr on Rocky Linux 8

In this tutorial we learn how to install python3-pyxattr on Rocky Linux 8. python3-pyxattr is Extended attributes library wrapper for Python 3

Introduction

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

What is python3-pyxattr

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

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

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

sudo dnf -y install python3-pyxattr

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

sudo yum -y install python3-pyxattr

How To Uninstall python3-pyxattr on Rocky Linux 8

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

sudo dnf remove python3-pyxattr

python3-pyxattr Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/8be74aa5ef5d0d14e617e13089b5ae82ef78bd
/usr/lib64/python3.6/site-packages/pyxattr-0.5.3-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pyxattr-0.5.3-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pyxattr-0.5.3-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pyxattr-0.5.3-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pyxattr-0.5.3-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/xattr.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/python3-pyxattr
/usr/share/doc/python3-pyxattr/NEWS
/usr/share/doc/python3-pyxattr/README
/usr/share/licenses/python3-pyxattr
/usr/share/licenses/python3-pyxattr/COPYING

References

Summary

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