How To Install php-laminas-xml on Fedora 36

In this tutorial we learn how to install php-laminas-xml in Fedora 36. php-laminas-xml is Laminas Framework Xml component

Introduction

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

What is php-laminas-xml

An utility component for XML usage and best practices in PHP.

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

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

sudo dnf -y install php-laminas-xml

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

sudo yum -y install php-laminas-xml

How To Uninstall php-laminas-xml on Fedora 36

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

sudo dnf remove php-laminas-xml

php-laminas-xml Package Contents on Fedora 36

/usr/share/doc/php-laminas-xml
/usr/share/doc/php-laminas-xml/COPYRIGHT.md
/usr/share/doc/php-laminas-xml/README.md
/usr/share/doc/php-laminas-xml/composer.json
/usr/share/licenses/php-laminas-xml
/usr/share/licenses/php-laminas-xml/LICENSE
/usr/share/php/Laminas/Xml
/usr/share/php/Laminas/Xml/Exception
/usr/share/php/Laminas/Xml/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Xml/Exception/InvalidArgumentException.php
/usr/share/php/Laminas/Xml/Exception/RuntimeException.php
/usr/share/php/Laminas/Xml/Security.php
/usr/share/php/Laminas/Xml/autoload.php
/usr/share/php/ZendXml
/usr/share/php/ZendXml/autoload.php

References

Summary

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