How To Install php-doctrine-common on Fedora 36
Introduction
In this tutorial we learn how to install php-doctrine-common
on Fedora 36.
What is php-doctrine-common
The Doctrine Common project is a library that provides extensions to core PHP functionality. Autoloader
We can use yum
or dnf
to install php-doctrine-common
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-doctrine-common.
Install php-doctrine-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-doctrine-common
using dnf
by running the following command:
sudo dnf -y install php-doctrine-common
Install php-doctrine-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-doctrine-common
using yum
by running the following command:
sudo yum -y install php-doctrine-common
How To Uninstall php-doctrine-common on Fedora 36
To uninstall only the php-doctrine-common
package we can use the following command:
sudo dnf remove php-doctrine-common
php-doctrine-common Package Contents on Fedora 36
/usr/share/doc/php-doctrine-common
/usr/share/doc/php-doctrine-common/README.md
/usr/share/doc/php-doctrine-common/UPGRADE_TO_2_1
/usr/share/doc/php-doctrine-common/UPGRADE_TO_2_2
/usr/share/doc/php-doctrine-common/composer.json
/usr/share/licenses/php-doctrine-common
/usr/share/licenses/php-doctrine-common/LICENSE
/usr/share/php/Doctrine/Common/ClassLoader.php
/usr/share/php/Doctrine/Common/CommonException.php
/usr/share/php/Doctrine/Common/Comparable.php
/usr/share/php/Doctrine/Common/Lexer.php
/usr/share/php/Doctrine/Common/Proxy
/usr/share/php/Doctrine/Common/Proxy/AbstractProxyFactory.php
/usr/share/php/Doctrine/Common/Proxy/Autoloader.php
/usr/share/php/Doctrine/Common/Proxy/Exception
/usr/share/php/Doctrine/Common/Proxy/Exception/InvalidArgumentException.php
/usr/share/php/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php
/usr/share/php/Doctrine/Common/Proxy/Exception/ProxyException.php
/usr/share/php/Doctrine/Common/Proxy/Exception/UnexpectedValueException.php
/usr/share/php/Doctrine/Common/Proxy/Proxy.php
/usr/share/php/Doctrine/Common/Proxy/ProxyDefinition.php
/usr/share/php/Doctrine/Common/Proxy/ProxyGenerator.php
/usr/share/php/Doctrine/Common/Util
/usr/share/php/Doctrine/Common/Util/ClassUtils.php
/usr/share/php/Doctrine/Common/Util/Debug.php
/usr/share/php/Doctrine/Common/Util/Inflector.php
/usr/share/php/Doctrine/Common/Version.php
/usr/share/php/Doctrine/Common/autoload.php
References
Summary
In this tutorial we learn how to install php-doctrine-common
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).