How To Install php-zmq on Fedora 36

In this tutorial we learn how to install php-zmq in Fedora 36. php-zmq is ZeroMQ messaging

Introduction

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

What is php-zmq

ZeroMQ is a software library that lets you quickly design and implement a fast message-based applications.

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

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

sudo dnf -y install php-zmq

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

sudo yum -y install php-zmq

How To Uninstall php-zmq on Fedora 36

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

sudo dnf remove php-zmq

php-zmq Package Contents on Fedora 36

/etc/php-zts.d/40-zmq.ini
/etc/php.d/40-zmq.ini
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/27a9560e410bc679d1ad93f560c69dcdb0d2c2
/usr/lib/.build-id/87
/usr/lib/.build-id/87/1f58bbf0d50b5268d49d9502076f101b822391
/usr/lib64/php-zts/modules/zmq.so
/usr/lib64/php/modules/zmq.so
/usr/share/doc/pecl/zmq
/usr/share/doc/pecl/zmq/LICENSE
/usr/share/doc/pecl/zmq/README.md
/usr/share/tests/pecl/zmq
/usr/share/tests/pecl/zmq/tests
/usr/share/tests/pecl/zmq/tests/001-send.phpt
/usr/share/tests/pecl/zmq/tests/002-test-binary.phpt
/usr/share/tests/pecl/zmq/tests/003-getpersistentid.phpt
/usr/share/tests/pecl/zmq/tests/004-getendpoints.phpt
/usr/share/tests/pecl/zmq/tests/005-forceconnectarg.phpt
/usr/share/tests/pecl/zmq/tests/006-sockopt.phpt
/usr/share/tests/pecl/zmq/tests/007-addremovepoll.phpt
/usr/share/tests/pecl/zmq/tests/008-twowaystoconstruct.phpt
/usr/share/tests/pecl/zmq/tests/009-ispersistent.phpt
/usr/share/tests/pecl/zmq/tests/010-pollsetinvalidargs.phpt
/usr/share/tests/pecl/zmq/tests/011-exceptions.phpt
/usr/share/tests/pecl/zmq/tests/012-pollsetremoveinvalid.phpt
/usr/share/tests/pecl/zmq/tests/013-pollclearandreuse.phpt
/usr/share/tests/pecl/zmq/tests/014-setsockoptparam.phpt
/usr/share/tests/pecl/zmq/tests/015-callback.phpt
/usr/share/tests/pecl/zmq/tests/016-callbackinvalidargs.phpt
/usr/share/tests/pecl/zmq/tests/017-callbackonlyonnewsocket.phpt
/usr/share/tests/pecl/zmq/tests/018-callbackpersistent.phpt
/usr/share/tests/pecl/zmq/tests/019-callbackinvalidsignature.phpt
/usr/share/tests/pecl/zmq/tests/020-exceptionincallback.phpt
/usr/share/tests/pecl/zmq/tests/021-callbackwarning.phpt
/usr/share/tests/pecl/zmq/tests/022-highwatermark.phpt
/usr/share/tests/pecl/zmq/tests/023-failedcallback.phpt
/usr/share/tests/pecl/zmq/tests/024-versionconstant.phpt
/usr/share/tests/pecl/zmq/tests/025-sendrecvmulti.phpt
/usr/share/tests/pecl/zmq/tests/026-sockettype.phpt
/usr/share/tests/pecl/zmq/tests/027-getset.phpt
/usr/share/tests/pecl/zmq/tests/028-xpub.phpt
/usr/share/tests/pecl/zmq/tests/029-xrepxreqdevice.phpt
/usr/share/tests/pecl/zmq/tests/030-xrepmanualqueue.phpt
/usr/share/tests/pecl/zmq/tests/031-lastendpoint.phpt
/usr/share/tests/pecl/zmq/tests/032-contextopt.phpt
/usr/share/tests/pecl/zmq/tests/033-disconnect.phpt
/usr/share/tests/pecl/zmq/tests/034-unbind.phpt
/usr/share/tests/pecl/zmq/tests/035-capture.phpt
/usr/share/tests/pecl/zmq/tests/036-device.phpt
/usr/share/tests/pecl/zmq/tests/037-device-deprecated.phpt
/usr/share/tests/pecl/zmq/tests/038-cert-construct.phpt
/usr/share/tests/pecl/zmq/tests/039-cert-equals.phpt
/usr/share/tests/pecl/zmq/tests/040-cert-clone.phpt
/usr/share/tests/pecl/zmq/tests/041-cert-meta.phpt
/usr/share/tests/pecl/zmq/tests/042-cert-save.phpt
/usr/share/tests/pecl/zmq/tests/043-cert-load.phpt
/usr/share/tests/pecl/zmq/tests/044-auth-construct.phpt
/usr/share/tests/pecl/zmq/tests/045-auth-allow-deny.phpt
/usr/share/tests/pecl/zmq/tests/046-cert-apply.phpt
/usr/share/tests/pecl/zmq/tests/047-auth-configure.phpt
/usr/share/tests/pecl/zmq/tests/048-pollsetitems.phpt
/usr/share/tests/pecl/zmq/tests/049-events.phpt
/usr/share/tests/pecl/zmq/tests/050-sharedcontext.phpt
/usr/share/tests/pecl/zmq/tests/051-socketcount.phpt
/usr/share/tests/pecl/zmq/tests/052-pthreads.phpt
/usr/share/tests/pecl/zmq/tests/053-z85.phpt
/usr/share/tests/pecl/zmq/tests/054-curvekeypair.phpt
/usr/share/tests/pecl/zmq/tests/055-socks-proxy.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_156.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_165.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_43.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_49.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_50.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_59.phpt
/usr/share/tests/pecl/zmq/tests/bug_gh_59_2.phpt
/usr/share/tests/pecl/zmq/tests/libzmq2-sockopt.phpt
/usr/share/tests/pecl/zmq/tests/libzmq3-sockopt.phpt
/usr/share/tests/pecl/zmq/tests/libzmq4-sockopt.phpt
/usr/share/tests/pecl/zmq/tests/rose.jpg
/usr/share/tests/pecl/zmq/tests/skipif-czmq2.inc
/usr/share/tests/pecl/zmq/tests/skipif-libzmq2.inc
/usr/share/tests/pecl/zmq/tests/skipif-libzmq3.inc
/usr/share/tests/pecl/zmq/tests/skipif-libzmq4.inc
/usr/share/tests/pecl/zmq/tests/skipif.inc
/usr/share/tests/pecl/zmq/tests/zeromq_test_helper.inc
/var/lib/php/peclxml/php-zmq.xml

References

Summary

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