How To Install php-sabre-xml2 on Fedora 36

In this tutorial we learn how to install php-sabre-xml2 in Fedora 36. php-sabre-xml2 is XML library that you may not hate

Introduction

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

What is php-sabre-xml2

The sabre/xml library is a specialized XML reader and writer. Autoloader

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

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

sudo dnf -y install php-sabre-xml2

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

sudo yum -y install php-sabre-xml2

How To Uninstall php-sabre-xml2 on Fedora 36

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

sudo dnf remove php-sabre-xml2

php-sabre-xml2 Package Contents on Fedora 36

/usr/share/doc/php-sabre-xml2
/usr/share/doc/php-sabre-xml2/CHANGELOG.md
/usr/share/doc/php-sabre-xml2/README.md
/usr/share/doc/php-sabre-xml2/composer.json
/usr/share/licenses/php-sabre-xml2
/usr/share/licenses/php-sabre-xml2/LICENSE
/usr/share/php/Sabre/Xml2
/usr/share/php/Sabre/Xml2/ContextStackTrait.php
/usr/share/php/Sabre/Xml2/Deserializer
/usr/share/php/Sabre/Xml2/Deserializer/functions.php
/usr/share/php/Sabre/Xml2/Element
/usr/share/php/Sabre/Xml2/Element.php
/usr/share/php/Sabre/Xml2/Element/Base.php
/usr/share/php/Sabre/Xml2/Element/Cdata.php
/usr/share/php/Sabre/Xml2/Element/Elements.php
/usr/share/php/Sabre/Xml2/Element/KeyValue.php
/usr/share/php/Sabre/Xml2/Element/Uri.php
/usr/share/php/Sabre/Xml2/Element/XmlFragment.php
/usr/share/php/Sabre/Xml2/LibXMLException.php
/usr/share/php/Sabre/Xml2/ParseException.php
/usr/share/php/Sabre/Xml2/Reader.php
/usr/share/php/Sabre/Xml2/Serializer
/usr/share/php/Sabre/Xml2/Serializer/functions.php
/usr/share/php/Sabre/Xml2/Service.php
/usr/share/php/Sabre/Xml2/Version.php
/usr/share/php/Sabre/Xml2/Writer.php
/usr/share/php/Sabre/Xml2/XmlDeserializable.php
/usr/share/php/Sabre/Xml2/XmlSerializable.php
/usr/share/php/Sabre/Xml2/autoload.php

References

Summary

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