How To Install zeromq on Fedora 34

zeromq is Software library for fast, message-based applications Software library for fast, message-based applications

Introduction

In this tutorial we learn how to install zeromq on Fedora 34.

What is zeromq

The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialized messaging middle-ware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. This package contains the ZeroMQ shared library. zeromq 4.3.4 1.fc34 x86_64 437 k zeromq-4.3.4-1.fc34.src.rpm fedora Software library for fast, message-based applications https LGPLv3+ The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialized messaging middle-ware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. This package contains the ZeroMQ shared library.

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

Install zeromq on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install zeromq using dnf by running the following command:

sudo dnf -y install zeromq

Install zeromq on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install zeromq using yum by running the following command:

sudo yum -y install zeromq

How To Uninstall zeromq on Fedora 34

To uninstall only the zeromq package we can use the following command:

sudo dnf remove zeromq

zeromq Package Contents on Fedora 34

/usr/bin/curve_keygen
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/11a5d462df8de3768ea604709ddf932584b090
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/b782b2034c5ce36f1a1bf14068d4dadbf7c9ec
/usr/lib64/libzmq.so.5
/usr/lib64/libzmq.so.5.2.4
/usr/share/doc/zeromq
/usr/share/doc/zeromq/AUTHORS
/usr/share/doc/zeromq/NEWS
/usr/share/doc/zeromq/README.md
/usr/share/licenses/zeromq
/usr/share/licenses/zeromq/COPYING
/usr/share/licenses/zeromq/COPYING.LESSER
/usr/share/man/man3/zmq_atomic_counter_dec.3.gz
/usr/share/man/man3/zmq_atomic_counter_destroy.3.gz
/usr/share/man/man3/zmq_atomic_counter_inc.3.gz
/usr/share/man/man3/zmq_atomic_counter_new.3.gz
/usr/share/man/man3/zmq_atomic_counter_set.3.gz
/usr/share/man/man3/zmq_atomic_counter_value.3.gz
/usr/share/man/man3/zmq_bind.3.gz
/usr/share/man/man3/zmq_close.3.gz
/usr/share/man/man3/zmq_connect.3.gz
/usr/share/man/man3/zmq_connect_peer.3.gz
/usr/share/man/man3/zmq_ctx_get.3.gz
/usr/share/man/man3/zmq_ctx_new.3.gz
/usr/share/man/man3/zmq_ctx_set.3.gz
/usr/share/man/man3/zmq_ctx_shutdown.3.gz
/usr/share/man/man3/zmq_ctx_term.3.gz
/usr/share/man/man3/zmq_curve_keypair.3.gz
/usr/share/man/man3/zmq_curve_public.3.gz
/usr/share/man/man3/zmq_disconnect.3.gz
/usr/share/man/man3/zmq_errno.3.gz
/usr/share/man/man3/zmq_getsockopt.3.gz
/usr/share/man/man3/zmq_has.3.gz
/usr/share/man/man3/zmq_msg_close.3.gz
/usr/share/man/man3/zmq_msg_copy.3.gz
/usr/share/man/man3/zmq_msg_data.3.gz
/usr/share/man/man3/zmq_msg_get.3.gz
/usr/share/man/man3/zmq_msg_gets.3.gz
/usr/share/man/man3/zmq_msg_init.3.gz
/usr/share/man/man3/zmq_msg_init_buffer.3.gz
/usr/share/man/man3/zmq_msg_init_data.3.gz
/usr/share/man/man3/zmq_msg_init_size.3.gz
/usr/share/man/man3/zmq_msg_more.3.gz
/usr/share/man/man3/zmq_msg_move.3.gz
/usr/share/man/man3/zmq_msg_recv.3.gz
/usr/share/man/man3/zmq_msg_routing_id.3.gz
/usr/share/man/man3/zmq_msg_send.3.gz
/usr/share/man/man3/zmq_msg_set.3.gz
/usr/share/man/man3/zmq_msg_set_routing_id.3.gz
/usr/share/man/man3/zmq_msg_size.3.gz
/usr/share/man/man3/zmq_poll.3.gz
/usr/share/man/man3/zmq_poller.3.gz
/usr/share/man/man3/zmq_proxy.3.gz
/usr/share/man/man3/zmq_proxy_steerable.3.gz
/usr/share/man/man3/zmq_recv.3.gz
/usr/share/man/man3/zmq_recvmsg.3.gz
/usr/share/man/man3/zmq_send.3.gz
/usr/share/man/man3/zmq_send_const.3.gz
/usr/share/man/man3/zmq_sendmsg.3.gz
/usr/share/man/man3/zmq_setsockopt.3.gz
/usr/share/man/man3/zmq_socket.3.gz
/usr/share/man/man3/zmq_socket_monitor.3.gz
/usr/share/man/man3/zmq_socket_monitor_versioned.3.gz
/usr/share/man/man3/zmq_strerror.3.gz
/usr/share/man/man3/zmq_timers.3.gz
/usr/share/man/man3/zmq_unbind.3.gz
/usr/share/man/man3/zmq_version.3.gz
/usr/share/man/man3/zmq_z85_decode.3.gz
/usr/share/man/man3/zmq_z85_encode.3.gz
/usr/share/man/man7/zmq.7.gz
/usr/share/man/man7/zmq_curve.7.gz
/usr/share/man/man7/zmq_gssapi.7.gz
/usr/share/man/man7/zmq_inproc.7.gz
/usr/share/man/man7/zmq_ipc.7.gz
/usr/share/man/man7/zmq_null.7.gz
/usr/share/man/man7/zmq_pgm.7.gz
/usr/share/man/man7/zmq_plain.7.gz
/usr/share/man/man7/zmq_tcp.7.gz
/usr/share/man/man7/zmq_tipc.7.gz
/usr/share/man/man7/zmq_udp.7.gz
/usr/share/man/man7/zmq_vmci.7.gz
/usr/bin/curve_keygen
/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/40a9a498c63a4194bfe23612c4ac0e9d0d11f5
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/50f3c4f194dc2862d51b9a65ec3f2ebc6c9625
/usr/lib/libzmq.so.5
/usr/lib/libzmq.so.5.2.4
/usr/share/doc/zeromq
/usr/share/doc/zeromq/AUTHORS
/usr/share/doc/zeromq/NEWS
/usr/share/doc/zeromq/README.md
/usr/share/licenses/zeromq
/usr/share/licenses/zeromq/COPYING
/usr/share/licenses/zeromq/COPYING.LESSER
/usr/share/man/man3/zmq_atomic_counter_dec.3.gz
/usr/share/man/man3/zmq_atomic_counter_destroy.3.gz
/usr/share/man/man3/zmq_atomic_counter_inc.3.gz
/usr/share/man/man3/zmq_atomic_counter_new.3.gz
/usr/share/man/man3/zmq_atomic_counter_set.3.gz
/usr/share/man/man3/zmq_atomic_counter_value.3.gz
/usr/share/man/man3/zmq_bind.3.gz
/usr/share/man/man3/zmq_close.3.gz
/usr/share/man/man3/zmq_connect.3.gz
/usr/share/man/man3/zmq_connect_peer.3.gz
/usr/share/man/man3/zmq_ctx_get.3.gz
/usr/share/man/man3/zmq_ctx_new.3.gz
/usr/share/man/man3/zmq_ctx_set.3.gz
/usr/share/man/man3/zmq_ctx_shutdown.3.gz
/usr/share/man/man3/zmq_ctx_term.3.gz
/usr/share/man/man3/zmq_curve_keypair.3.gz
/usr/share/man/man3/zmq_curve_public.3.gz
/usr/share/man/man3/zmq_disconnect.3.gz
/usr/share/man/man3/zmq_errno.3.gz
/usr/share/man/man3/zmq_getsockopt.3.gz
/usr/share/man/man3/zmq_has.3.gz
/usr/share/man/man3/zmq_msg_close.3.gz
/usr/share/man/man3/zmq_msg_copy.3.gz
/usr/share/man/man3/zmq_msg_data.3.gz
/usr/share/man/man3/zmq_msg_get.3.gz
/usr/share/man/man3/zmq_msg_gets.3.gz
/usr/share/man/man3/zmq_msg_init.3.gz
/usr/share/man/man3/zmq_msg_init_buffer.3.gz
/usr/share/man/man3/zmq_msg_init_data.3.gz
/usr/share/man/man3/zmq_msg_init_size.3.gz
/usr/share/man/man3/zmq_msg_more.3.gz
/usr/share/man/man3/zmq_msg_move.3.gz
/usr/share/man/man3/zmq_msg_recv.3.gz
/usr/share/man/man3/zmq_msg_routing_id.3.gz
/usr/share/man/man3/zmq_msg_send.3.gz
/usr/share/man/man3/zmq_msg_set.3.gz
/usr/share/man/man3/zmq_msg_set_routing_id.3.gz
/usr/share/man/man3/zmq_msg_size.3.gz
/usr/share/man/man3/zmq_poll.3.gz
/usr/share/man/man3/zmq_poller.3.gz
/usr/share/man/man3/zmq_proxy.3.gz
/usr/share/man/man3/zmq_proxy_steerable.3.gz
/usr/share/man/man3/zmq_recv.3.gz
/usr/share/man/man3/zmq_recvmsg.3.gz
/usr/share/man/man3/zmq_send.3.gz
/usr/share/man/man3/zmq_send_const.3.gz
/usr/share/man/man3/zmq_sendmsg.3.gz
/usr/share/man/man3/zmq_setsockopt.3.gz
/usr/share/man/man3/zmq_socket.3.gz
/usr/share/man/man3/zmq_socket_monitor.3.gz
/usr/share/man/man3/zmq_socket_monitor_versioned.3.gz
/usr/share/man/man3/zmq_strerror.3.gz
/usr/share/man/man3/zmq_timers.3.gz
/usr/share/man/man3/zmq_unbind.3.gz
/usr/share/man/man3/zmq_version.3.gz
/usr/share/man/man3/zmq_z85_decode.3.gz
/usr/share/man/man3/zmq_z85_encode.3.gz
/usr/share/man/man7/zmq.7.gz
/usr/share/man/man7/zmq_curve.7.gz
/usr/share/man/man7/zmq_gssapi.7.gz
/usr/share/man/man7/zmq_inproc.7.gz
/usr/share/man/man7/zmq_ipc.7.gz
/usr/share/man/man7/zmq_null.7.gz
/usr/share/man/man7/zmq_pgm.7.gz
/usr/share/man/man7/zmq_plain.7.gz
/usr/share/man/man7/zmq_tcp.7.gz
/usr/share/man/man7/zmq_tipc.7.gz
/usr/share/man/man7/zmq_udp.7.gz
/usr/share/man/man7/zmq_vmci.7.gz

References

Summary

In this tutorial we learn how to install zeromq on Fedora 34 using yum and dnf.