How To Install php-guzzlehttp-guzzle6 on Fedora 36

In this tutorial we learn how to install php-guzzlehttp-guzzle6 in Fedora 36. php-guzzlehttp-guzzle6 is PHP HTTP client library

Introduction

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

What is php-guzzlehttp-guzzle6

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services. * Simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc… * Can send both synchronous and asynchronous requests using the same interface. * Uses PSR-7 interfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle. * Abstracts away the underlying HTTP transport, allowing you to write environment and transport agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. * Middleware system allows you to augment and compose client behavior. Autoloader

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

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

sudo dnf -y install php-guzzlehttp-guzzle6

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

sudo yum -y install php-guzzlehttp-guzzle6

How To Uninstall php-guzzlehttp-guzzle6 on Fedora 36

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

sudo dnf remove php-guzzlehttp-guzzle6

php-guzzlehttp-guzzle6 Package Contents on Fedora 36

/usr/share/doc/php-guzzlehttp-guzzle6
/usr/share/doc/php-guzzlehttp-guzzle6/CHANGELOG.md
/usr/share/doc/php-guzzlehttp-guzzle6/README.md
/usr/share/doc/php-guzzlehttp-guzzle6/UPGRADING.md
/usr/share/doc/php-guzzlehttp-guzzle6/composer.json
/usr/share/licenses/php-guzzlehttp-guzzle6
/usr/share/licenses/php-guzzlehttp-guzzle6/LICENSE
/usr/share/php/GuzzleHttp6
/usr/share/php/GuzzleHttp6/Client.php
/usr/share/php/GuzzleHttp6/ClientInterface.php
/usr/share/php/GuzzleHttp6/Cookie
/usr/share/php/GuzzleHttp6/Cookie/CookieJar.php
/usr/share/php/GuzzleHttp6/Cookie/CookieJarInterface.php
/usr/share/php/GuzzleHttp6/Cookie/FileCookieJar.php
/usr/share/php/GuzzleHttp6/Cookie/SessionCookieJar.php
/usr/share/php/GuzzleHttp6/Cookie/SetCookie.php
/usr/share/php/GuzzleHttp6/Exception
/usr/share/php/GuzzleHttp6/Exception/BadResponseException.php
/usr/share/php/GuzzleHttp6/Exception/ClientException.php
/usr/share/php/GuzzleHttp6/Exception/ConnectException.php
/usr/share/php/GuzzleHttp6/Exception/GuzzleException.php
/usr/share/php/GuzzleHttp6/Exception/InvalidArgumentException.php
/usr/share/php/GuzzleHttp6/Exception/RequestException.php
/usr/share/php/GuzzleHttp6/Exception/SeekException.php
/usr/share/php/GuzzleHttp6/Exception/ServerException.php
/usr/share/php/GuzzleHttp6/Exception/TooManyRedirectsException.php
/usr/share/php/GuzzleHttp6/Exception/TransferException.php
/usr/share/php/GuzzleHttp6/Handler
/usr/share/php/GuzzleHttp6/Handler/CurlFactory.php
/usr/share/php/GuzzleHttp6/Handler/CurlFactoryInterface.php
/usr/share/php/GuzzleHttp6/Handler/CurlHandler.php
/usr/share/php/GuzzleHttp6/Handler/CurlMultiHandler.php
/usr/share/php/GuzzleHttp6/Handler/EasyHandle.php
/usr/share/php/GuzzleHttp6/Handler/MockHandler.php
/usr/share/php/GuzzleHttp6/Handler/Proxy.php
/usr/share/php/GuzzleHttp6/Handler/StreamHandler.php
/usr/share/php/GuzzleHttp6/HandlerStack.php
/usr/share/php/GuzzleHttp6/MessageFormatter.php
/usr/share/php/GuzzleHttp6/Middleware.php
/usr/share/php/GuzzleHttp6/Pool.php
/usr/share/php/GuzzleHttp6/PrepareBodyMiddleware.php
/usr/share/php/GuzzleHttp6/RedirectMiddleware.php
/usr/share/php/GuzzleHttp6/RequestOptions.php
/usr/share/php/GuzzleHttp6/RetryMiddleware.php
/usr/share/php/GuzzleHttp6/TransferStats.php
/usr/share/php/GuzzleHttp6/UriTemplate.php
/usr/share/php/GuzzleHttp6/Utils.php
/usr/share/php/GuzzleHttp6/autoload.php
/usr/share/php/GuzzleHttp6/functions.php
/usr/share/php/GuzzleHttp6/functions_include.php

References

Summary

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