How To Install php-symfony-serializer on Fedora 36

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

Introduction

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

What is php-symfony-serializer

The Serializer Component is meant to be used to turn objects into a specific format (XML, JSON, Yaml, …) and the other way around.

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

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

sudo dnf -y install php-symfony-serializer

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

sudo yum -y install php-symfony-serializer

How To Uninstall php-symfony-serializer on Fedora 36

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

sudo dnf remove php-symfony-serializer

php-symfony-serializer Package Contents on Fedora 36

/usr/share/doc/php-symfony-serializer
/usr/share/doc/php-symfony-serializer/CHANGELOG.md
/usr/share/doc/php-symfony-serializer/README.md
/usr/share/doc/php-symfony-serializer/composer.json
/usr/share/licenses/php-symfony-serializer
/usr/share/licenses/php-symfony-serializer/LICENSE
/usr/share/php/Symfony/Component/Serializer
/usr/share/php/Symfony/Component/Serializer/Annotation
/usr/share/php/Symfony/Component/Serializer/Annotation/Groups.php
/usr/share/php/Symfony/Component/Serializer/Encoder
/usr/share/php/Symfony/Component/Serializer/Encoder/ChainDecoder.php
/usr/share/php/Symfony/Component/Serializer/Encoder/ChainEncoder.php
/usr/share/php/Symfony/Component/Serializer/Encoder/DecoderInterface.php
/usr/share/php/Symfony/Component/Serializer/Encoder/EncoderInterface.php
/usr/share/php/Symfony/Component/Serializer/Encoder/JsonDecode.php
/usr/share/php/Symfony/Component/Serializer/Encoder/JsonEncode.php
/usr/share/php/Symfony/Component/Serializer/Encoder/JsonEncoder.php
/usr/share/php/Symfony/Component/Serializer/Encoder/NormalizationAwareInterface.php
/usr/share/php/Symfony/Component/Serializer/Encoder/SerializerAwareEncoder.php
/usr/share/php/Symfony/Component/Serializer/Encoder/XmlEncoder.php
/usr/share/php/Symfony/Component/Serializer/Exception
/usr/share/php/Symfony/Component/Serializer/Exception/BadMethodCallException.php
/usr/share/php/Symfony/Component/Serializer/Exception/CircularReferenceException.php
/usr/share/php/Symfony/Component/Serializer/Exception/Exception.php
/usr/share/php/Symfony/Component/Serializer/Exception/ExceptionInterface.php
/usr/share/php/Symfony/Component/Serializer/Exception/InvalidArgumentException.php
/usr/share/php/Symfony/Component/Serializer/Exception/LogicException.php
/usr/share/php/Symfony/Component/Serializer/Exception/MappingException.php
/usr/share/php/Symfony/Component/Serializer/Exception/RuntimeException.php
/usr/share/php/Symfony/Component/Serializer/Exception/UnexpectedValueException.php
/usr/share/php/Symfony/Component/Serializer/Exception/UnsupportedException.php
/usr/share/php/Symfony/Component/Serializer/Mapping
/usr/share/php/Symfony/Component/Serializer/Mapping/AttributeMetadata.php
/usr/share/php/Symfony/Component/Serializer/Mapping/AttributeMetadataInterface.php
/usr/share/php/Symfony/Component/Serializer/Mapping/ClassMetadata.php
/usr/share/php/Symfony/Component/Serializer/Mapping/ClassMetadataInterface.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Factory
/usr/share/php/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactoryInterface.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/AnnotationLoader.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/FileLoader.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/LoaderChain.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/LoaderInterface.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/XmlFileLoader.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/YamlFileLoader.php
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/schema
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/schema/dic
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/schema/dic/serializer-mapping
/usr/share/php/Symfony/Component/Serializer/Mapping/Loader/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd
/usr/share/php/Symfony/Component/Serializer/NameConverter
/usr/share/php/Symfony/Component/Serializer/NameConverter/CamelCaseToSnakeCaseNameConverter.php
/usr/share/php/Symfony/Component/Serializer/NameConverter/NameConverterInterface.php
/usr/share/php/Symfony/Component/Serializer/Normalizer
/usr/share/php/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/ArrayDenormalizer.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/CustomNormalizer.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/DenormalizableInterface.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/DenormalizerInterface.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/NormalizableInterface.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/NormalizerInterface.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/ObjectNormalizer.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php
/usr/share/php/Symfony/Component/Serializer/Normalizer/SerializerAwareNormalizer.php
/usr/share/php/Symfony/Component/Serializer/Serializer.php
/usr/share/php/Symfony/Component/Serializer/SerializerAwareInterface.php
/usr/share/php/Symfony/Component/Serializer/SerializerInterface.php
/usr/share/php/Symfony/Component/Serializer/autoload.php
/usr/share/php/Symfony/Component/Serializer/autoloader.php

References

Summary

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