How To Install php-sebastian-type2 on Fedora 36

In this tutorial we learn how to install php-sebastian-type2 in Fedora 36. php-sebastian-type2 is Collection of value objects that represent the types of the PHP type system, version 2

Introduction

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

What is php-sebastian-type2

Collection of value objects that represent the types of the PHP type system.

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

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

sudo dnf -y install php-sebastian-type2

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

sudo yum -y install php-sebastian-type2

How To Uninstall php-sebastian-type2 on Fedora 36

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

sudo dnf remove php-sebastian-type2

php-sebastian-type2 Package Contents on Fedora 36

/usr/share/doc/php-sebastian-type2
/usr/share/doc/php-sebastian-type2/ChangeLog.md
/usr/share/doc/php-sebastian-type2/README.md
/usr/share/doc/php-sebastian-type2/composer.json
/usr/share/licenses/php-sebastian-type2
/usr/share/licenses/php-sebastian-type2/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/Type2
/usr/share/php/SebastianBergmann/Type2/CallableType.php
/usr/share/php/SebastianBergmann/Type2/FalseType.php
/usr/share/php/SebastianBergmann/Type2/GenericObjectType.php
/usr/share/php/SebastianBergmann/Type2/IterableType.php
/usr/share/php/SebastianBergmann/Type2/MixedType.php
/usr/share/php/SebastianBergmann/Type2/NullType.php
/usr/share/php/SebastianBergmann/Type2/ObjectType.php
/usr/share/php/SebastianBergmann/Type2/ReflectionMapper.php
/usr/share/php/SebastianBergmann/Type2/SimpleType.php
/usr/share/php/SebastianBergmann/Type2/StaticType.php
/usr/share/php/SebastianBergmann/Type2/Type.php
/usr/share/php/SebastianBergmann/Type2/TypeName.php
/usr/share/php/SebastianBergmann/Type2/UnionType.php
/usr/share/php/SebastianBergmann/Type2/UnknownType.php
/usr/share/php/SebastianBergmann/Type2/VoidType.php
/usr/share/php/SebastianBergmann/Type2/autoload.php
/usr/share/php/SebastianBergmann/Type2/exception
/usr/share/php/SebastianBergmann/Type2/exception/Exception.php
/usr/share/php/SebastianBergmann/Type2/exception/LogicException.php
/usr/share/php/SebastianBergmann/Type2/exception/RuntimeException.php

References

Summary

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