How To Install php-psr-http-client on Fedora 36
Introduction
In this tutorial we learn how to install php-psr-http-client
on Fedora 36.
What is php-psr-http-client
This repository holds all the common code related to PSR-18 (HTTP Client). Please refer to the specification for a description https Autoloader
We can use yum
or dnf
to install php-psr-http-client
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-psr-http-client.
Install php-psr-http-client 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-psr-http-client
using dnf
by running the following command:
sudo dnf -y install php-psr-http-client
Install php-psr-http-client 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-psr-http-client
using yum
by running the following command:
sudo yum -y install php-psr-http-client
How To Uninstall php-psr-http-client on Fedora 36
To uninstall only the php-psr-http-client
package we can use the following command:
sudo dnf remove php-psr-http-client
php-psr-http-client Package Contents on Fedora 36
/usr/share/doc/php-psr-http-client
/usr/share/doc/php-psr-http-client/CHANGELOG.md
/usr/share/doc/php-psr-http-client/README.md
/usr/share/doc/php-psr-http-client/composer.json
/usr/share/licenses/php-psr-http-client
/usr/share/licenses/php-psr-http-client/LICENSE
/usr/share/php/Psr/Http/Client
/usr/share/php/Psr/Http/Client/ClientExceptionInterface.php
/usr/share/php/Psr/Http/Client/ClientInterface.php
/usr/share/php/Psr/Http/Client/NetworkExceptionInterface.php
/usr/share/php/Psr/Http/Client/RequestExceptionInterface.php
/usr/share/php/Psr/Http/Client/autoload.php
References
Summary
In this tutorial we learn how to install php-psr-http-client
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).