How To Install php-di-symfony2-bridge on Fedora 36

In this tutorial we learn how to install php-di-symfony2-bridge in Fedora 36. php-di-symfony2-bridge is PHP-DI integration with Symfony

Introduction

In this tutorial we learn how to install php-di-symfony2-bridge on Fedora 36.

What is php-di-symfony2-bridge

PHP-DI integration with Symfony. Autoloader

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

Install php-di-symfony2-bridge 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-di-symfony2-bridge using dnf by running the following command:

sudo dnf -y install php-di-symfony2-bridge

Install php-di-symfony2-bridge 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-di-symfony2-bridge using yum by running the following command:

sudo yum -y install php-di-symfony2-bridge

How To Uninstall php-di-symfony2-bridge on Fedora 36

To uninstall only the php-di-symfony2-bridge package we can use the following command:

sudo dnf remove php-di-symfony2-bridge

php-di-symfony2-bridge Package Contents on Fedora 36

/usr/share/doc/php-di-symfony2-bridge
/usr/share/doc/php-di-symfony2-bridge/README.md
/usr/share/doc/php-di-symfony2-bridge/composer.json
/usr/share/licenses/php-di-symfony2-bridge
/usr/share/licenses/php-di-symfony2-bridge/LICENSE
/usr/share/php/DI/Bridge
/usr/share/php/DI/Bridge/Symfony
/usr/share/php/DI/Bridge/Symfony/Kernel.php
/usr/share/php/DI/Bridge/Symfony/SymfonyContainerBridge.php
/usr/share/php/DI/Bridge/Symfony/autoload.php

References

Summary

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