How To Install php-sebastian-diff4 on Fedora 36

In this tutorial we learn how to install php-sebastian-diff4 in Fedora 36. php-sebastian-diff4 is Diff implementation, version 4

Introduction

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

What is php-sebastian-diff4

Diff implementation. Autoloader

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

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

sudo dnf -y install php-sebastian-diff4

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

sudo yum -y install php-sebastian-diff4

How To Uninstall php-sebastian-diff4 on Fedora 36

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

sudo dnf remove php-sebastian-diff4

php-sebastian-diff4 Package Contents on Fedora 36

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

References

Summary

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