How To Install php-laminas-dom on Fedora 36

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

Introduction

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

What is php-laminas-dom

The laminas-dom component provides tools for working with DOM documents and structures. Currently, we offer Laminas\Dom\Query, which provides a unified interface for querying DOM documents utilizing both XPath and CSS selectors. Documentation

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

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

sudo dnf -y install php-laminas-dom

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

sudo yum -y install php-laminas-dom

How To Uninstall php-laminas-dom on Fedora 36

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

sudo dnf remove php-laminas-dom

php-laminas-dom Package Contents on Fedora 36

/usr/share/doc/php-laminas-dom
/usr/share/doc/php-laminas-dom/COPYRIGHT.md
/usr/share/doc/php-laminas-dom/README.md
/usr/share/doc/php-laminas-dom/composer.json
/usr/share/licenses/php-laminas-dom
/usr/share/licenses/php-laminas-dom/LICENSE
/usr/share/php/Laminas/Dom
/usr/share/php/Laminas/Dom/Css2Xpath.php
/usr/share/php/Laminas/Dom/DOMXPath.php
/usr/share/php/Laminas/Dom/Document
/usr/share/php/Laminas/Dom/Document.php
/usr/share/php/Laminas/Dom/Document/NodeList.php
/usr/share/php/Laminas/Dom/Document/Query.php
/usr/share/php/Laminas/Dom/Exception
/usr/share/php/Laminas/Dom/Exception/BadMethodCallException.php
/usr/share/php/Laminas/Dom/Exception/ExceptionInterface.php
/usr/share/php/Laminas/Dom/Exception/RuntimeException.php
/usr/share/php/Laminas/Dom/NodeList.php
/usr/share/php/Laminas/Dom/Query.php
/usr/share/php/Laminas/Dom/autoload.php
/usr/share/php/Zend/Dom
/usr/share/php/Zend/Dom/autoload.php

References

Summary

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