How To Install php-psr-link on Fedora 36

In this tutorial we learn how to install php-psr-link in Fedora 36. php-psr-link is Common interfaces for HTTP links (PSR-13)

Introduction

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

This package holds all interfaces/classes/traits related to PSR-13 [1]. Note that this is not an HTTP link implementation of its own. It is merely an interface that describes an HTTP link. See the specification for more details. Autoloader [1] https

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

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install php-psr-link using dnf by running the following command:

sudo dnf -y install php-psr-link

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install php-psr-link using yum by running the following command:

sudo yum -y install php-psr-link

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

sudo dnf remove php-psr-link
/usr/share/doc/php-psr-link
/usr/share/doc/php-psr-link/README.md
/usr/share/doc/php-psr-link/composer.json
/usr/share/licenses/php-psr-link
/usr/share/licenses/php-psr-link/LICENSE.md
/usr/share/php/Psr
/usr/share/php/Psr/Link
/usr/share/php/Psr/Link/EvolvableLinkInterface.php
/usr/share/php/Psr/Link/EvolvableLinkProviderInterface.php
/usr/share/php/Psr/Link/LinkInterface.php
/usr/share/php/Psr/Link/LinkProviderInterface.php
/usr/share/php/Psr/Link/autoload.php

References

Summary

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