How To Install silan on Ubuntu 18.04

In this tutorial we learn how to install silan on Ubuntu 18.04. silan is commandline tool to detect silence in audio-files

Introduction

In this tutorial we learn how to install silan on Ubuntu 18.04.

What is silan

silan is:

Silan is a standalone application to analyze audio files for silence and print ranges of detected signals.

It supports a variety of audio-formats and codecs by making use of libsndfile and ffmpeg/libav for reading audio-data.

Signal threshold and hold-off time can be freely configured. The output can be formatted with samples or seconds as unit or printed as audacity label file.

There are three methods to install silan on Ubuntu 18.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 silan Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install silan

Install silan Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install silan

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

sudo aptitude -y install silan

How To Uninstall silan on Ubuntu 18.04

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

sudo apt-get remove silan

Uninstall silan And Its Dependencies

To uninstall silan and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove silan

Remove silan Configurations and Data

To remove silan configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge silan

Remove silan configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge silan

References

Summary

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