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

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

Introduction

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

What is php-phpdocumentor-reflection-common

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

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

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

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

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

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

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

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

sudo dnf remove php-phpdocumentor-reflection-common

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

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

References

Summary

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