How To Install php-sebastian-code-unit on Fedora 36

In this tutorial we learn how to install php-sebastian-code-unit in Fedora 36. php-sebastian-code-unit is Collection of value objects that represent the PHP code units

Introduction

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

What is php-sebastian-code-unit

Collection of value objects that represent the PHP code units. Autoloader

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

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

sudo dnf -y install php-sebastian-code-unit

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

sudo yum -y install php-sebastian-code-unit

How To Uninstall php-sebastian-code-unit on Fedora 36

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

sudo dnf remove php-sebastian-code-unit

php-sebastian-code-unit Package Contents on Fedora 36

/usr/share/doc/php-sebastian-code-unit
/usr/share/doc/php-sebastian-code-unit/README.md
/usr/share/doc/php-sebastian-code-unit/composer.json
/usr/share/licenses/php-sebastian-code-unit
/usr/share/licenses/php-sebastian-code-unit/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/CodeUnit
/usr/share/php/SebastianBergmann/CodeUnit/ClassMethodUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/ClassUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/CodeUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/CodeUnitCollection.php
/usr/share/php/SebastianBergmann/CodeUnit/CodeUnitCollectionIterator.php
/usr/share/php/SebastianBergmann/CodeUnit/FunctionUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/InterfaceMethodUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/InterfaceUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/Mapper.php
/usr/share/php/SebastianBergmann/CodeUnit/TraitMethodUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/TraitUnit.php
/usr/share/php/SebastianBergmann/CodeUnit/autoload.php
/usr/share/php/SebastianBergmann/CodeUnit/exceptions
/usr/share/php/SebastianBergmann/CodeUnit/exceptions/Exception.php
/usr/share/php/SebastianBergmann/CodeUnit/exceptions/InvalidCodeUnitException.php
/usr/share/php/SebastianBergmann/CodeUnit/exceptions/NoTraitException.php
/usr/share/php/SebastianBergmann/CodeUnit/exceptions/ReflectionException.php

References

Summary

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