How To Install zeromq on CentOS 8
Introduction
In this tutorial we learn how to install zeromq
on CentOS 8.
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.
We can use yum
or dnf
to install zeromq
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install zeromq.
Install zeromq on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the zeromq
package we can use the following command:
sudo dnf remove zeromq
zeromq Package Contents on CentOS 8
/usr/bin/curve_keygen
/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/b6ab7882c0fc1b270a4e238523b5502dc9d8eb
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/a023fd4162566308f723e71ce94a4dec4efc27
/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
References
Summary
In this tutorial we learn how to install zeromq
on CentOS 8 using yum and dnf.