shairport-sync command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shairport-sync: command not found
or when using sudo you get the following error message
sudo: shairport-sync: command not found
Solutions to shairport-sync: command not found
How To Fix shairport-sync: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shairport-sync is provided by shairport-sync package.
shairport-sync is:
Plays audio streamed from iTunes, iOS devices and third-party AirPlay sources such as ForkedDaapd and others. Audio played by a Shairport Sync-powered device stays synchronised with the source and hence with similar devices playing the same source. In this way, synchronised multi-room audio is possible without difficulty.
Shairport Sync does not support AirPlay video or photo streaming.
To fix this problem, we can install more using the command below.
sudo apt-get -y install shairport-sync
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install shairport-sync.
sudo apt -y install shairport-sync
Or if you have aptitude installed you can use the following command.
sudo aptitude install shairport-sync
Summary
In this tutorial we learn how to fix shairport-sync command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.