How To Install shairport-sync on AlmaLinux 8

In this tutorial we learn how to install shairport-sync in AlmaLinux 8. shairport-sync is AirTunes emulator. Multi-Room with Audio Synchronisation

Introduction

In this tutorial we learn how to install shairport-sync on AlmaLinux 8.

What is shairport-sync

Shairport Sync emulates an AirPort Express for the purpose of streaming audio from iTunes, iPods, iPhones, iPads and AppleTVs. Audio played by a Shairport Sync-powered device stays synchronised with the source and hence with similar devices playing the same source. Thus, for example, synchronised multi-room audio is possible without difficulty. (Hence the name Shairport Sync, BTW.) Shairport Sync does not support AirPlay video or photo streaming.

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

Install shairport-sync on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install shairport-sync

Install shairport-sync on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install shairport-sync using yum by running the following command:

sudo yum -y install shairport-sync

How To Uninstall shairport-sync on AlmaLinux 8

To uninstall only the shairport-sync package we can use the following command:

sudo dnf remove shairport-sync

References

Summary

In this tutorial we learn how to install shairport-sync on AlmaLinux 8 using yum and dnf.