How To Install forked-daapd on Ubuntu 20.04

In this tutorial we learn how to install forked-daapd on Ubuntu 20.04. forked-daapd is DAAP/DACP (iTunes) server, support for AirPlay and Roku devices

Introduction

In this tutorial we learn how to install forked-daapd on Ubuntu 20.04.

What is forked-daapd

forked-daapd is:

forked-daapd is an iTunes-compatible media server, originally intended as a rewrite of Firefly Media Server (also known as mt-daapd).

It supports a wide range of audio formats, can stream video to iTunes, XBMC and other compatible clients, has support for Apple’s Remote iPhone/iPod application and can stream music to AirPlay devices like the AirPort Express.

It also features RSP support for Roku’s SoundBridge devices and MPD support for Music Player Daemon clients.

Built-in, on-the-fly decoding support enables serving popular free music formats like FLAC, Ogg Vorbis or Musepack to those clients that do not otherwise support them.

There are three methods to install forked-daapd on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install forked-daapd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install forked-daapd using apt-get by running the following command:

sudo apt-get -y install forked-daapd

Install forked-daapd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install forked-daapd using apt by running the following command:

sudo apt -y install forked-daapd

Install forked-daapd Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install forked-daapd using aptitude by running the following command:

sudo aptitude -y install forked-daapd

How To Uninstall forked-daapd on Ubuntu 20.04

To uninstall only the forked-daapd package we can use the following command:

sudo apt-get remove forked-daapd

Uninstall forked-daapd And Its Dependencies

To uninstall forked-daapd and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove forked-daapd

Remove forked-daapd Configurations and Data

To remove forked-daapd configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge forked-daapd

Remove forked-daapd configuration, data, and all of its dependencies

We can use the following command to remove forked-daapd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge forked-daapd

References

Summary

In this tutorial we learn how to install forked-daapd package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.