How To Install php-sebastian-diff3 on Fedora 36

In this tutorial we learn how to install php-sebastian-diff3 in Fedora 36. php-sebastian-diff3 is Diff implementation

Introduction

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

What is php-sebastian-diff3

Diff implementation. Autoloader

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

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

sudo dnf -y install php-sebastian-diff3

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

sudo yum -y install php-sebastian-diff3

How To Uninstall php-sebastian-diff3 on Fedora 36

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

sudo dnf remove php-sebastian-diff3

php-sebastian-diff3 Package Contents on Fedora 36

/usr/share/doc/php-sebastian-diff3
/usr/share/doc/php-sebastian-diff3/ChangeLog.md
/usr/share/doc/php-sebastian-diff3/README.md
/usr/share/doc/php-sebastian-diff3/composer.json
/usr/share/licenses/php-sebastian-diff3
/usr/share/licenses/php-sebastian-diff3/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/Diff3
/usr/share/php/SebastianBergmann/Diff3/Chunk.php
/usr/share/php/SebastianBergmann/Diff3/Diff.php
/usr/share/php/SebastianBergmann/Diff3/Differ.php
/usr/share/php/SebastianBergmann/Diff3/Exception
/usr/share/php/SebastianBergmann/Diff3/Exception/ConfigurationException.php
/usr/share/php/SebastianBergmann/Diff3/Exception/Exception.php
/usr/share/php/SebastianBergmann/Diff3/Exception/InvalidArgumentException.php
/usr/share/php/SebastianBergmann/Diff3/Line.php
/usr/share/php/SebastianBergmann/Diff3/LongestCommonSubsequenceCalculator.php
/usr/share/php/SebastianBergmann/Diff3/MemoryEfficientLongestCommonSubsequenceCalculator.php
/usr/share/php/SebastianBergmann/Diff3/Output
/usr/share/php/SebastianBergmann/Diff3/Output/AbstractChunkOutputBuilder.php
/usr/share/php/SebastianBergmann/Diff3/Output/DiffOnlyOutputBuilder.php
/usr/share/php/SebastianBergmann/Diff3/Output/DiffOutputBuilderInterface.php
/usr/share/php/SebastianBergmann/Diff3/Output/StrictUnifiedDiffOutputBuilder.php
/usr/share/php/SebastianBergmann/Diff3/Output/UnifiedDiffOutputBuilder.php
/usr/share/php/SebastianBergmann/Diff3/Parser.php
/usr/share/php/SebastianBergmann/Diff3/TimeEfficientLongestCommonSubsequenceCalculator.php
/usr/share/php/SebastianBergmann/Diff3/autoload.php

References

Summary

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