How To Install php-phpdocumentor-reflection-common2 on Fedora 36

In this tutorial we learn how to install php-phpdocumentor-reflection-common2 in Fedora 36. php-phpdocumentor-reflection-common2 is Common reflection classes used by phpdocumentor

Introduction

In this tutorial we learn how to install php-phpdocumentor-reflection-common2 on Fedora 36.

What is php-phpdocumentor-reflection-common2

Common reflection classes used by phpdocumentor to reflect the code structure. Autoloader

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

Install php-phpdocumentor-reflection-common2 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-phpdocumentor-reflection-common2 using dnf by running the following command:

sudo dnf -y install php-phpdocumentor-reflection-common2

Install php-phpdocumentor-reflection-common2 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-phpdocumentor-reflection-common2 using yum by running the following command:

sudo yum -y install php-phpdocumentor-reflection-common2

How To Uninstall php-phpdocumentor-reflection-common2 on Fedora 36

To uninstall only the php-phpdocumentor-reflection-common2 package we can use the following command:

sudo dnf remove php-phpdocumentor-reflection-common2

php-phpdocumentor-reflection-common2 Package Contents on Fedora 36

/usr/share/doc/php-phpdocumentor-reflection-common2
/usr/share/doc/php-phpdocumentor-reflection-common2/README.md
/usr/share/doc/php-phpdocumentor-reflection-common2/composer.json
/usr/share/licenses/php-phpdocumentor-reflection-common2
/usr/share/licenses/php-phpdocumentor-reflection-common2/LICENSE
/usr/share/php/phpDocumentor
/usr/share/php/phpDocumentor/Reflection2
/usr/share/php/phpDocumentor/Reflection2/Element.php
/usr/share/php/phpDocumentor/Reflection2/File.php
/usr/share/php/phpDocumentor/Reflection2/Fqsen.php
/usr/share/php/phpDocumentor/Reflection2/Location.php
/usr/share/php/phpDocumentor/Reflection2/Project.php
/usr/share/php/phpDocumentor/Reflection2/ProjectFactory.php
/usr/share/php/phpDocumentor/Reflection2/autoload-common.php

References

Summary

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