How To Install glasscoder on Debian 11

In this tutorial we learn how to install glasscoder on Debian 11. glasscoder is minimalist audio encoder for generating live streams

Introduction

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

What is glasscoder

glasscoder is:

GlassCoder is a minimalist audio encoder for IceCase and Soutcase streaming servers as well as HTTP Live Streaming (HLS). It supports the following audio sources:

Advanced Linux Sound Architecture (ALSA) File Streaming (FILE) JACK Audio Connection Kit (JACK)

The base GlassCoder streamer component utilizes no configuration files or GUI interface whatsoever; with the ‘user interface’ consisting entirely of the command-line invocation. As such, it is well suited for use cases where the encoder is completely driven by an external system or script.

The following audio codecs are supported:

MPEG-1/1.5 Layer 3 (‘MP3’) Ogg Opus Ogg Vorbis PCM16

Also included is GlassGui, a graphical point-and-click interface that can be used to drive GlassCoder or generate command-line invocations that can be copy/pasted to other systems

There are three methods to install glasscoder 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 glasscoder Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install glasscoder

Install glasscoder Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install glasscoder

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

sudo aptitude -y install glasscoder

How To Uninstall glasscoder on Debian 11

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

sudo apt-get remove glasscoder

Uninstall glasscoder And Its Dependencies

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

sudo apt-get -y autoremove glasscoder

Remove glasscoder Configurations and Data

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

sudo apt-get -y purge glasscoder

Remove glasscoder configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge glasscoder

Dependencies

glasscoder have the following dependencies:

References

Summary

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