How To Install xmlsec1.x86_64 on Amazon Linux 2

In this tutorial we learn how to install xmlsec1.x86_64 in Amazon Linux 2. xmlsec1.x86_64 is Library providing support for “XML Signature” and “XML Encryption”

Introduction

In this tutorial we learn how to install xmlsec1.x86_64 on Amazon Linux 2.

What is xmlsec1.x86_64

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 to install xmlsec1.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xmlsec1.x86_64.

Install xmlsec1.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xmlsec1.x86_64 using yum by running the following command:

sudo yum -y install xmlsec1.x86_64

How To Uninstall xmlsec1.x86_64 on Amazon Linux 2

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

sudo yum remove xmlsec1.x86_64

xmlsec1.x86_64 Package Contents on Amazon Linux 2

/usr/bin/xmlsec1
/usr/lib64/libxmlsec1.so.1
/usr/lib64/libxmlsec1.so.1.2.20
/usr/share/doc/xmlsec1-1.2.20
/usr/share/doc/xmlsec1-1.2.20/AUTHORS
/usr/share/doc/xmlsec1-1.2.20/ChangeLog
/usr/share/doc/xmlsec1-1.2.20/Copyright
/usr/share/doc/xmlsec1-1.2.20/NEWS
/usr/share/doc/xmlsec1-1.2.20/README
/usr/share/man/man1/xmlsec1.1.gz

References

Summary

In this tutorial we learn how to install xmlsec1.x86_64 on Amazon Linux 2 using yum.