How To Install xmlsec1 on Fedora 34

xmlsec1 is Library providing support for “XML Signature” and “XML Encryption” standards

Introduction

In this tutorial we learn how to install xmlsec1 on Fedora 34.

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”. xmlsec1 1.2.29 3.fc34 x86_64 192 k xmlsec1-1.2.29-3.fc34.src.rpm fedora Library providing support for “XML Signature” and “XML Encryption” standards http MIT 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xmlsec1.

Install xmlsec1 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install xmlsec1

Install xmlsec1 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove xmlsec1

xmlsec1 Package Contents on Fedora 34

/usr/bin/xmlsec1
/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/0b8fbbda1bf155aefa489b522e6e40b0478a87
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/6b012ce737ded0ae1b1038fb9589a9bef96555
/usr/lib/libxmlsec1.so.1
/usr/lib/libxmlsec1.so.1.2.29
/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/9e
/usr/lib/.build-id/9e/d171451997e8416109432e063a03fe35884d20
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/45d53006e923b23d3096e415ecbedb94805b2f
/usr/lib64/libxmlsec1.so.1
/usr/lib64/libxmlsec1.so.1.2.29
/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 Fedora 34 using yum and dnf.