How To Install xmlsec1 on Rocky Linux 8

In this tutorial we learn how to install xmlsec1 on Rocky Linux 8. xmlsec1 is Library providing support for “XML Signature” and “XML Encryption” standards

Introduction

In this tutorial we learn how to install xmlsec1 on Rocky Linux 8.

What is xmlsec1

XML Security Library is a C library based on LibXML2 and OpenSSL. The library was created with a goal to support major XML security standards “XML Digital Signature” and “XML Encryption”.

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

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

sudo dnf -y install xmlsec1

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

sudo yum -y install xmlsec1

How To Uninstall xmlsec1 on Rocky Linux 8

To uninstall only the xmlsec1 package we can use the following command:

sudo dnf remove xmlsec1

xmlsec1 Package Contents on Rocky Linux 8

/usr/bin/xmlsec1
/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/684a6084a85b1da44f2ce42e3c13fb0f9475eb
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/c2d337b9d538e4835b5f7a616985b44ee4616b
/usr/lib/libxmlsec1.so.1
/usr/lib/libxmlsec1.so.1.2.25
/usr/share/doc/xmlsec1
/usr/share/doc/xmlsec1/AUTHORS
/usr/share/doc/xmlsec1/ChangeLog
/usr/share/doc/xmlsec1/Copyright
/usr/share/doc/xmlsec1/NEWS
/usr/share/doc/xmlsec1/README
/usr/share/man/man1/xmlsec1.1.gz
/usr/bin/xmlsec1
/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/4c68c18c36b1b4d56fd611d044049d523f1b48
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/740963e2b3b34a535dcce821359a406e92a03d
/usr/lib64/libxmlsec1.so.1
/usr/lib64/libxmlsec1.so.1.2.25
/usr/share/doc/xmlsec1
/usr/share/doc/xmlsec1/AUTHORS
/usr/share/doc/xmlsec1/ChangeLog
/usr/share/doc/xmlsec1/Copyright
/usr/share/doc/xmlsec1/NEWS
/usr/share/doc/xmlsec1/README
/usr/share/man/man1/xmlsec1.1.gz

References

Summary

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