How To Install snapserver on Debian 11

In this tutorial we learn how to install snapserver on Debian 11. snapserver is Snapcast server

Introduction

In this tutorial we learn how to install snapserver on Debian 11.

What is snapserver

snapserver is:

Snapcast is a multi-room client-server audio player, where all clients are time synchronized with the server to play perfectly synced audio. It’s not a standalone player, but an extension that turns your existing audio player into a Sonos-like multi-room solution.

The server’s audio input is a named pipe /tmp/snapfifo. All data that is fed into this file will be send to the connected clients. One of the most generic ways to use Snapcast is in conjunction with the music player daemon or Mopidy, which can be configured to use a named pipe as audio output.

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

Install snapserver Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install snapserver

Install snapserver Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install snapserver using apt by running the following command:

sudo apt -y install snapserver

Install snapserver 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install snapserver

How To Uninstall snapserver on Debian 11

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

sudo apt-get remove snapserver

Uninstall snapserver And Its Dependencies

To uninstall snapserver and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove snapserver

Remove snapserver Configurations and Data

To remove snapserver configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge snapserver

Remove snapserver configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge snapserver

Dependencies

snapserver have the following dependencies:

References

Summary

In this tutorial we learn how to install snapserver package on Debian 11 using different package management tools: apt, apt-get and aptitude.