How To Install php-pecl-gearman on Fedora 36

In this tutorial we learn how to install php-pecl-gearman in Fedora 36. php-pecl-gearman is PHP wrapper to libgearman

Introduction

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

What is php-pecl-gearman

This extension uses libgearman library to provide API for communicating with gearmand, and writing clients and workers Documentation

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

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

sudo dnf -y install php-pecl-gearman

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

sudo yum -y install php-pecl-gearman

How To Uninstall php-pecl-gearman on Fedora 36

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

sudo dnf remove php-pecl-gearman

php-pecl-gearman Package Contents on Fedora 36

/etc/php-zts.d/40-gearman.ini
/etc/php.d/40-gearman.ini
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/e2e684fbe04349c7935c9483a9275e2617d0ef
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/11cdb8ac1fbe4ad4798ba084744ae93b367904
/usr/lib64/php-zts/modules/gearman.so
/usr/lib64/php/modules/gearman.so
/usr/share/doc/pecl/gearman
/usr/share/doc/pecl/gearman/CREDITS
/usr/share/doc/pecl/gearman/ChangeLog
/usr/share/doc/pecl/gearman/README
/usr/share/doc/pecl/gearman/TODO
/usr/share/doc/pecl/gearman/examples
/usr/share/doc/pecl/gearman/examples/image_thumbnail_client.php
/usr/share/doc/pecl/gearman/examples/image_thumbnail_client_bg.php
/usr/share/doc/pecl/gearman/examples/image_thumbnail_client_task.php
/usr/share/doc/pecl/gearman/examples/image_thumbnail_worker.php
/usr/share/doc/pecl/gearman/examples/reverse_client.php
/usr/share/doc/pecl/gearman/examples/reverse_client_bg.php
/usr/share/doc/pecl/gearman/examples/reverse_client_task.php
/usr/share/doc/pecl/gearman/examples/reverse_worker.php
/usr/share/doc/pecl/gearman/test_client.php
/usr/share/doc/pecl/gearman/test_worker.php
/usr/share/licenses/php-pecl-gearman
/usr/share/licenses/php-pecl-gearman/LICENSE
/var/lib/php/peclxml/php-pecl-gearman.xml

References

Summary

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