How To Install srt on CentOS 8

srt is Secure Reliable Transport protocol tools

Introduction

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

What is srt

Secure Reliable Transport (SRT) is an open source transport technology that optimizes streaming performance across unpredictable networks, such as the Internet.

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

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

sudo dnf -y install srt

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

sudo yum -y install srt

How To Uninstall srt on CentOS 8

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

sudo dnf remove srt

srt Package Contents on CentOS 8

/usr/bin/srt-ffplay
/usr/bin/srt-file-transmit
/usr/bin/srt-live-transmit
/usr/bin/srt-tunnel
/usr/bin/test-srt
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/f7478da03d77ad3f5a96d8001d5c43089f8c80
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/f34e66b674a26e02871b7abfc37ad56574f4b4
/usr/lib/.build-id/da
/usr/lib/.build-id/da/9658b8fdbe20f78bfd606fb5b5eb06a84e5487
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/f146b795273d1830dd36e2cb7f96579c29e647
/usr/share/doc/srt
/usr/share/doc/srt/README.md
/usr/share/doc/srt/docs
/usr/share/doc/srt/docs/API-functions.md
/usr/share/doc/srt/docs/API.md
/usr/share/doc/srt/docs/AccessControl.md
/usr/share/doc/srt/docs/Android
/usr/share/doc/srt/docs/Android/Compiling.md
/usr/share/doc/srt/docs/Android/mkall
/usr/share/doc/srt/docs/Android/mksrt
/usr/share/doc/srt/docs/Android/mkssl
/usr/share/doc/srt/docs/Android/packjni
/usr/share/doc/srt/docs/Android/prepare_build
/usr/share/doc/srt/docs/BuildOptions.md
/usr/share/doc/srt/docs/SRT-Multiplex.md
/usr/share/doc/srt/docs/build_iOS.md
/usr/share/doc/srt/docs/encryption.md
/usr/share/doc/srt/docs/gstreamer.md
/usr/share/doc/srt/docs/handshake.md
/usr/share/doc/srt/docs/images
/usr/share/doc/srt/docs/images/SRT_History_Good_Signal.png
/usr/share/doc/srt/docs/images/SRT_Transmission_Bad_Signal.png
/usr/share/doc/srt/docs/images/block-aligned-5rx10c.png
/usr/share/doc/srt/docs/images/block-aligned.png
/usr/share/doc/srt/docs/images/non-block-aligned-5rx10c-deleted-packets.png
/usr/share/doc/srt/docs/images/non-block-aligned-5rx10c.png
/usr/share/doc/srt/docs/images/non-block-aligned.png
/usr/share/doc/srt/docs/images/packet-filter-mechanism.png
/usr/share/doc/srt/docs/images/rebuild-missing-sequence.png
/usr/share/doc/srt/docs/images/srt-encryption-1.png
/usr/share/doc/srt/docs/images/srt-encryption-2.png
/usr/share/doc/srt/docs/images/staircase-pattern-5rx10c.png
/usr/share/doc/srt/docs/live-streaming.md
/usr/share/doc/srt/docs/packet-filtering-and-fec.md
/usr/share/doc/srt/docs/reporting.md
/usr/share/doc/srt/docs/srt-tunnel.md
/usr/share/doc/srt/docs/statistics.md
/usr/share/doc/srt/docs/stransmit.md
/usr/share/doc/srt/docs/why-srt-was-created.md
/usr/share/licenses/srt
/usr/share/licenses/srt/LICENSE

References

Summary

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