How To Install nanomsg on Fedora 34

nanomsg is Socket library that provides several common communication patterns Socket library that provides several common communication patterns

Introduction

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

What is nanomsg

The nanomsg library is a simple high-performance implementation of several “scalability protocols”. These scalability protocols are light-weight messaging protocols which can be used to solve a number of very common messaging patterns, such as request/reply, publish/subscribe, surveyor/respondent, and so forth. These protocols can run over a variety of transports such as TCP, UNIX sockets, and even WebSocket. nanomsg 1.1.5 7.fc34 x86_64 133 k nanomsg-1.1.5-7.fc34.src.rpm fedora Socket library that provides several common communication patterns https MIT The nanomsg library is a simple high-performance implementation of several “scalability protocols”. These scalability protocols are light-weight messaging protocols which can be used to solve a number of very common messaging patterns, such as request/reply, publish/subscribe, surveyor/respondent, and so forth. These protocols can run over a variety of transports such as TCP, UNIX sockets, and even WebSocket.

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

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

sudo dnf -y install nanomsg

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

sudo yum -y install nanomsg

How To Uninstall nanomsg on Fedora 34

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

sudo dnf remove nanomsg

nanomsg Package Contents on Fedora 34

/usr/bin/nanocat
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/41f21a374794ec4a2da8e5fb7584cb9b98506f
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/7323469d50807688ec610284c9bbe3d5f6cce9
/usr/lib/libnanomsg.so.5
/usr/lib/libnanomsg.so.5.1.0
/usr/share/licenses/nanomsg
/usr/share/licenses/nanomsg/COPYING
/usr/share/man/man1/nanocat.1.gz
/usr/bin/nanocat
/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/ca6cc6468d9098e28cdb3ac46f0e7dee4c6657
/usr/lib/.build-id/91
/usr/lib/.build-id/91/c410185cf02a6ed1d9868f66cdfbee80f84351
/usr/lib64/libnanomsg.so.5
/usr/lib64/libnanomsg.so.5.1.0
/usr/share/licenses/nanomsg
/usr/share/licenses/nanomsg/COPYING
/usr/share/man/man1/nanocat.1.gz

References

Summary

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