How To Install php-symfony-yaml on Fedora 36

In this tutorial we learn how to install php-symfony-yaml in Fedora 36. php-symfony-yaml is Symfony Yaml Component

Introduction

In this tutorial we learn how to install php-symfony-yaml on Fedora 36.

What is php-symfony-yaml

The YAML Component loads and dumps YAML files.

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

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

sudo dnf -y install php-symfony-yaml

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

sudo yum -y install php-symfony-yaml

How To Uninstall php-symfony-yaml on Fedora 36

To uninstall only the php-symfony-yaml package we can use the following command:

sudo dnf remove php-symfony-yaml

php-symfony-yaml Package Contents on Fedora 36

/usr/share/doc/php-symfony-yaml
/usr/share/doc/php-symfony-yaml/CHANGELOG.md
/usr/share/doc/php-symfony-yaml/README.md
/usr/share/doc/php-symfony-yaml/composer.json
/usr/share/licenses/php-symfony-yaml
/usr/share/licenses/php-symfony-yaml/LICENSE
/usr/share/php/Symfony/Component/Yaml
/usr/share/php/Symfony/Component/Yaml/Dumper.php
/usr/share/php/Symfony/Component/Yaml/Escaper.php
/usr/share/php/Symfony/Component/Yaml/Exception
/usr/share/php/Symfony/Component/Yaml/Exception/DumpException.php
/usr/share/php/Symfony/Component/Yaml/Exception/ExceptionInterface.php
/usr/share/php/Symfony/Component/Yaml/Exception/ParseException.php
/usr/share/php/Symfony/Component/Yaml/Exception/RuntimeException.php
/usr/share/php/Symfony/Component/Yaml/Inline.php
/usr/share/php/Symfony/Component/Yaml/Parser.php
/usr/share/php/Symfony/Component/Yaml/Unescaper.php
/usr/share/php/Symfony/Component/Yaml/Yaml.php
/usr/share/php/Symfony/Component/Yaml/autoload.php
/usr/share/php/Symfony/Component/Yaml/autoloader.php

References

Summary

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