How To Install php-guzzlehttp-promises on Fedora 36

In this tutorial we learn how to install php-guzzlehttp-promises in Fedora 36. php-guzzlehttp-promises is Guzzle promises library

Introduction

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

What is php-guzzlehttp-promises

Promises/A+ [1] implementation that handles promise chaining and resolution interactively, allowing for “infinite” promise chaining while keeping the stack size constant. Autoloader [1] https

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

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

sudo dnf -y install php-guzzlehttp-promises

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

sudo yum -y install php-guzzlehttp-promises

How To Uninstall php-guzzlehttp-promises on Fedora 36

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

sudo dnf remove php-guzzlehttp-promises

php-guzzlehttp-promises Package Contents on Fedora 36

/usr/share/doc/php-guzzlehttp-promises
/usr/share/doc/php-guzzlehttp-promises/CHANGELOG.md
/usr/share/doc/php-guzzlehttp-promises/README.md
/usr/share/doc/php-guzzlehttp-promises/composer.json
/usr/share/licenses/php-guzzlehttp-promises
/usr/share/licenses/php-guzzlehttp-promises/LICENSE
/usr/share/php/GuzzleHttp
/usr/share/php/GuzzleHttp/Promise
/usr/share/php/GuzzleHttp/Promise/AggregateException.php
/usr/share/php/GuzzleHttp/Promise/CancellationException.php
/usr/share/php/GuzzleHttp/Promise/Coroutine.php
/usr/share/php/GuzzleHttp/Promise/Create.php
/usr/share/php/GuzzleHttp/Promise/Each.php
/usr/share/php/GuzzleHttp/Promise/EachPromise.php
/usr/share/php/GuzzleHttp/Promise/FulfilledPromise.php
/usr/share/php/GuzzleHttp/Promise/Is.php
/usr/share/php/GuzzleHttp/Promise/Promise.php
/usr/share/php/GuzzleHttp/Promise/PromiseInterface.php
/usr/share/php/GuzzleHttp/Promise/PromisorInterface.php
/usr/share/php/GuzzleHttp/Promise/RejectedPromise.php
/usr/share/php/GuzzleHttp/Promise/RejectionException.php
/usr/share/php/GuzzleHttp/Promise/TaskQueue.php
/usr/share/php/GuzzleHttp/Promise/TaskQueueInterface.php
/usr/share/php/GuzzleHttp/Promise/Utils.php
/usr/share/php/GuzzleHttp/Promise/autoload.php
/usr/share/php/GuzzleHttp/Promise/functions.php
/usr/share/php/GuzzleHttp/Promise/functions_include.php

References

Summary

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