How To Install php-doctrine-annotations on Fedora 36
Introduction
In this tutorial we learn how to install php-doctrine-annotations
on Fedora 36.
What is php-doctrine-annotations
PHP docblock annotations parser library (extracted from Doctrine Common). Autoloader
We can use yum
or dnf
to install php-doctrine-annotations
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-doctrine-annotations.
Install php-doctrine-annotations 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-annotations
using dnf
by running the following command:
sudo dnf -y install php-doctrine-annotations
Install php-doctrine-annotations 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-annotations
using yum
by running the following command:
sudo yum -y install php-doctrine-annotations
How To Uninstall php-doctrine-annotations on Fedora 36
To uninstall only the php-doctrine-annotations
package we can use the following command:
sudo dnf remove php-doctrine-annotations
php-doctrine-annotations Package Contents on Fedora 36
/usr/share/doc/php-doctrine-annotations
/usr/share/doc/php-doctrine-annotations/README.md
/usr/share/doc/php-doctrine-annotations/composer.json
/usr/share/licenses/php-doctrine-annotations
/usr/share/licenses/php-doctrine-annotations/LICENSE
/usr/share/php/Doctrine/Common/Annotations
/usr/share/php/Doctrine/Common/Annotations/Annotation
/usr/share/php/Doctrine/Common/Annotations/Annotation.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/Attribute.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/Attributes.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/Enum.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/IgnoreAnnotation.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/NamedArgumentConstructor.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/Required.php
/usr/share/php/Doctrine/Common/Annotations/Annotation/Target.php
/usr/share/php/Doctrine/Common/Annotations/AnnotationException.php
/usr/share/php/Doctrine/Common/Annotations/AnnotationReader.php
/usr/share/php/Doctrine/Common/Annotations/AnnotationRegistry.php
/usr/share/php/Doctrine/Common/Annotations/CachedReader.php
/usr/share/php/Doctrine/Common/Annotations/DocLexer.php
/usr/share/php/Doctrine/Common/Annotations/DocParser.php
/usr/share/php/Doctrine/Common/Annotations/FileCacheReader.php
/usr/share/php/Doctrine/Common/Annotations/ImplicitlyIgnoredAnnotationNames.php
/usr/share/php/Doctrine/Common/Annotations/IndexedReader.php
/usr/share/php/Doctrine/Common/Annotations/NamedArgumentConstructorAnnotation.php
/usr/share/php/Doctrine/Common/Annotations/PhpParser.php
/usr/share/php/Doctrine/Common/Annotations/PsrCachedReader.php
/usr/share/php/Doctrine/Common/Annotations/Reader.php
/usr/share/php/Doctrine/Common/Annotations/SimpleAnnotationReader.php
/usr/share/php/Doctrine/Common/Annotations/TokenParser.php
/usr/share/php/Doctrine/Common/Annotations/autoload.php
References
Summary
In this tutorial we learn how to install php-doctrine-annotations
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).