How To Install python3-xmlsec on Rocky Linux 8

In this tutorial we learn how to install python3-xmlsec on Rocky Linux 8. python3-xmlsec is Python bindings for the XML Security Library

Introduction

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

What is python3-xmlsec

Python bindings for the XML Security Library.

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

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

sudo dnf -y install python3-xmlsec

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

sudo yum -y install python3-xmlsec

How To Uninstall python3-xmlsec on Rocky Linux 8

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

sudo dnf remove python3-xmlsec

python3-xmlsec Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/fbe21515f485456dd3fd09b9f78d2b624feef7
/usr/lib64/python3.6/site-packages/xmlsec-1.3.3-py3.6.egg-info
/usr/lib64/python3.6/site-packages/xmlsec-1.3.3-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/xmlsec-1.3.3-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/xmlsec-1.3.3-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/xmlsec-1.3.3-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/xmlsec-1.3.3-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/xmlsec.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/python3-xmlsec
/usr/share/doc/python3-xmlsec/README.rst
/usr/share/licenses/python3-xmlsec
/usr/share/licenses/python3-xmlsec/LICENSE

References

Summary

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