How To Install usrsctp on Rocky Linux 8

In this tutorial we learn how to install usrsctp on Rocky Linux 8. usrsctp is Portable SCTP userland stack

Introduction

In this tutorial we learn how to install usrsctp on Rocky Linux 8.

What is usrsctp

SCTP is a message oriented, reliable transport protocol with direct support for multihoming that runs on top of IP or UDP, and supports both v4 and v6 versions. Like TCP, SCTP provides reliable, connection oriented data delivery with congestion control. Unlike TCP, SCTP also provides message boundary preservation, ordered and unordered message delivery, multi-streaming and multi-homing. Detection of data corruption, loss of data and duplication of data is achieved by using checksums and sequence numbers. A selective retransmission mechanism is applied to correct loss or corruption of data. In this manual the socket API for the SCTP User-land implementation will be described. It is based on RFC 6458. The main focus of this document is on pointing out the differences to the SCTP Sockets API. For all aspects of the sockets API that are not mentioned in this document, please refer to RFC 6458. Questions about SCTP itself can hopefully be answered by RFC 4960.

We can use yum or dnf to install usrsctp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install usrsctp.

Install usrsctp on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install usrsctp

Install usrsctp on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install usrsctp

How To Uninstall usrsctp on Rocky Linux 8

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

sudo dnf remove usrsctp

usrsctp Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/aed7e226d6df4b742b8d2ce0ecb106c80422d6
/usr/lib64/libusrsctp.so.2
/usr/lib64/libusrsctp.so.2.0.0
/usr/share/doc/usrsctp
/usr/share/doc/usrsctp/Manual.md
/usr/share/doc/usrsctp/README.md
/usr/share/licenses/usrsctp
/usr/share/licenses/usrsctp/LICENSE.md

References

Summary

In this tutorial we learn how to install usrsctp on Rocky Linux 8 using yum and dnf.