How To Install php-sebastian-comparator3 on Fedora 36

In this tutorial we learn how to install php-sebastian-comparator3 in Fedora 36. php-sebastian-comparator3 is Compare PHP values for equality

Introduction

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

What is php-sebastian-comparator3

This component provides the functionality to compare PHP values for equality. Autoloader

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

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

sudo dnf -y install php-sebastian-comparator3

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

sudo yum -y install php-sebastian-comparator3

How To Uninstall php-sebastian-comparator3 on Fedora 36

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

sudo dnf remove php-sebastian-comparator3

php-sebastian-comparator3 Package Contents on Fedora 36

/usr/share/doc/php-sebastian-comparator3
/usr/share/doc/php-sebastian-comparator3/README.md
/usr/share/doc/php-sebastian-comparator3/composer.json
/usr/share/licenses/php-sebastian-comparator3
/usr/share/licenses/php-sebastian-comparator3/LICENSE
/usr/share/php/SebastianBergmann/Comparator3
/usr/share/php/SebastianBergmann/Comparator3/ArrayComparator.php
/usr/share/php/SebastianBergmann/Comparator3/Comparator.php
/usr/share/php/SebastianBergmann/Comparator3/ComparisonFailure.php
/usr/share/php/SebastianBergmann/Comparator3/DOMNodeComparator.php
/usr/share/php/SebastianBergmann/Comparator3/DateTimeComparator.php
/usr/share/php/SebastianBergmann/Comparator3/DoubleComparator.php
/usr/share/php/SebastianBergmann/Comparator3/ExceptionComparator.php
/usr/share/php/SebastianBergmann/Comparator3/Factory.php
/usr/share/php/SebastianBergmann/Comparator3/MockObjectComparator.php
/usr/share/php/SebastianBergmann/Comparator3/NumericComparator.php
/usr/share/php/SebastianBergmann/Comparator3/ObjectComparator.php
/usr/share/php/SebastianBergmann/Comparator3/ResourceComparator.php
/usr/share/php/SebastianBergmann/Comparator3/ScalarComparator.php
/usr/share/php/SebastianBergmann/Comparator3/SplObjectStorageComparator.php
/usr/share/php/SebastianBergmann/Comparator3/TypeComparator.php
/usr/share/php/SebastianBergmann/Comparator3/autoload.php

References

Summary

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