How To Install glasscoder on Kali Linux

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

Introduction

In this tutorial we learn how to install glasscoder on Kali Linux.

What is glasscoder

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 ways to install glasscoder on Kali Linux . 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 Kali Linux. 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 Kali Linux

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 Kali Linux, we can use the command below:

sudo apt-get -y autoremove glasscoder

Remove glasscoder Configurations and Data

To remove glasscoder configuration and data from Kali Linux 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

References

Summary

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