How To Install php-symfony-locale on Fedora 36

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

Introduction

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

What is php-symfony-locale

Locale provides fallback code to handle cases when the intl extension is missing. The Locale component is deprecated since version 2.3 and will be removed in Symfony 3.0. You should use the more capable Intl component instead.

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

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

sudo dnf -y install php-symfony-locale

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

sudo yum -y install php-symfony-locale

How To Uninstall php-symfony-locale on Fedora 36

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

sudo dnf remove php-symfony-locale

php-symfony-locale Package Contents on Fedora 36

/usr/share/doc/php-symfony-locale
/usr/share/doc/php-symfony-locale/CHANGELOG.md
/usr/share/doc/php-symfony-locale/README.md
/usr/share/doc/php-symfony-locale/composer.json
/usr/share/licenses/php-symfony-locale
/usr/share/licenses/php-symfony-locale/LICENSE
/usr/share/php/Symfony/Component/Locale
/usr/share/php/Symfony/Component/Locale/Exception
/usr/share/php/Symfony/Component/Locale/Exception/MethodArgumentNotImplementedException.php
/usr/share/php/Symfony/Component/Locale/Exception/MethodArgumentValueNotImplementedException.php
/usr/share/php/Symfony/Component/Locale/Exception/MethodNotImplementedException.php
/usr/share/php/Symfony/Component/Locale/Exception/NotImplementedException.php
/usr/share/php/Symfony/Component/Locale/Locale.php
/usr/share/php/Symfony/Component/Locale/Stub
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/AmPmTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/DayOfWeekTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/DayOfYearTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/DayTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/Hour1200Transformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/Hour1201Transformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/Hour2400Transformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/Hour2401Transformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/HourTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/MinuteTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/MonthTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/QuarterTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/SecondTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/TimeZoneTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/Transformer.php
/usr/share/php/Symfony/Component/Locale/Stub/DateFormat/YearTransformer.php
/usr/share/php/Symfony/Component/Locale/Stub/StubCollator.php
/usr/share/php/Symfony/Component/Locale/Stub/StubIntl.php
/usr/share/php/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php
/usr/share/php/Symfony/Component/Locale/Stub/StubLocale.php
/usr/share/php/Symfony/Component/Locale/Stub/StubNumberFormatter.php
/usr/share/php/Symfony/Component/Locale/autoload.php
/usr/share/php/Symfony/Component/Locale/autoloader.php

References

Summary

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