How To Install php-xmlseclibs on Fedora 36

In this tutorial we learn how to install php-xmlseclibs in Fedora 36. php-xmlseclibs is PHP library for XML Security

Introduction

In this tutorial we learn how to install php-xmlseclibs on Fedora 36.

What is php-xmlseclibs

xmlseclibs is a library written in PHP for working with XML Encryption and Signatures.

We can use yum or dnf to install php-xmlseclibs on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-xmlseclibs.

Install php-xmlseclibs on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install php-xmlseclibs

Install php-xmlseclibs on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-xmlseclibs using yum by running the following command:

sudo yum -y install php-xmlseclibs

How To Uninstall php-xmlseclibs on Fedora 36

To uninstall only the php-xmlseclibs package we can use the following command:

sudo dnf remove php-xmlseclibs

php-xmlseclibs Package Contents on Fedora 36

/usr/share/doc/php-xmlseclibs
/usr/share/doc/php-xmlseclibs/CHANGELOG.txt
/usr/share/doc/php-xmlseclibs/LICENSE
/usr/share/php/xmlseclibs
/usr/share/php/xmlseclibs/xmlseclibs.php

References

Summary

In this tutorial we learn how to install php-xmlseclibs on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).