How To Install srt-devel on CentOS 8

srt-devel is Secure Reliable Transport protocol development libraries and headers

Introduction

In this tutorial we learn how to install srt-devel on CentOS 8.

What is srt-devel

Secure Reliable Transport protocol development libraries and header files

We can use yum or dnf to install srt-devel on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install srt-devel.

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

sudo dnf -y install srt-devel

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

sudo yum -y install srt-devel

How To Uninstall srt-devel on CentOS 8

To uninstall only the srt-devel package we can use the following command:

sudo dnf remove srt-devel

srt-devel Package Contents on CentOS 8

/usr/include/srt
/usr/include/srt/logging_api.h
/usr/include/srt/platform_sys.h
/usr/include/srt/srt.h
/usr/include/srt/srt4udt.h
/usr/include/srt/udt.h
/usr/include/srt/version.h
/usr/lib64/libsrt.so
/usr/lib64/pkgconfig/srt.pc
/usr/share/doc/srt-devel
/usr/share/doc/srt-devel/examples
/usr/share/doc/srt-devel/examples/recvfile.cpp
/usr/share/doc/srt-devel/examples/recvlive.cpp
/usr/share/doc/srt-devel/examples/sendfile.cpp
/usr/share/doc/srt-devel/examples/suflip.cpp
/usr/share/doc/srt-devel/examples/test-c-client.c
/usr/share/doc/srt-devel/examples/test-c-server.c
/usr/share/doc/srt-devel/examples/testcapi-connect.c

References

Summary

In this tutorial we learn how to install srt-devel on CentOS 8 using yum and dnf.