How To Install php-symfony3 on Fedora 36

In this tutorial we learn how to install php-symfony3 in Fedora 36. php-symfony3 is Symfony PHP framework (version 3)

Introduction

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

What is php-symfony3

Symfony PHP framework (version 3). NOTE

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

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

sudo dnf -y install php-symfony3

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

sudo yum -y install php-symfony3

How To Uninstall php-symfony3 on Fedora 36

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

sudo dnf remove php-symfony3

php-symfony3 Package Contents on Fedora 36

/usr/share/doc/php-symfony3
/usr/share/php/Symfony3/Bundle/FullStack.php

References

Summary

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