How To Install loudgain on Ubuntu 22.04

In this tutorial we learn how to install loudgain on Ubuntu 22.04. loudgain is ReplayGain 2.0 loudness normalizer based on the EBU R128 standard

Introduction

In this tutorial we learn how to install loudgain on Ubuntu 22.04.

What is loudgain

loudgain is:

loudgain is a loudness normalizer that scans music files and calculates loudness-normalized gain and loudness peak values according to the EBU R128/ITU BS.1770 standard (-18 LUFS).

loudgain will embed ReplayGain 2.0-compatible metadata tags in a file if requested but will not modify the audio data in any way.

loudgain supports the FLAC, Ogg, MP2, MP3, MP4, M4A, ALAC, Opus, ASF, WMA, WAV, WavPack, AIFF and APE audio formats. Video files with compatible audio streams are also supported.

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

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

sudo apt-get update

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

sudo apt-get -y install loudgain

Install loudgain Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install loudgain

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

sudo aptitude -y install loudgain

How To Uninstall loudgain on Ubuntu 22.04

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

sudo apt-get remove loudgain

Uninstall loudgain And Its Dependencies

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

sudo apt-get -y autoremove loudgain

Remove loudgain Configurations and Data

To remove loudgain configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge loudgain

Remove loudgain configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge loudgain

References

Summary

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