How To Install mp3gain on Debian 11
Introduction
In this tutorial we learn how to install mp3gain
on Debian 11.
What is mp3gain
mp3gain is:
MP3Gain analyzes and adjusts mp3 files so that they have the same volume. MP3Gain does not just do peak normalization, as many normalizers do. Instead, it does some statistical analysis (using the replaygain algorithm) to determine how loud the file actually sounds to the human ear.
MP3Gain can adjust the volume in a completely lossless way by modifying the mp3 file directly, without decoding and re-encoding. This works with all mp3 players, i.e. no support for a special tag is required.
MP3Gain can also add replaygain compatible (APE) or ID3v2 gain tags to mp3 files.
There are three methods to install mp3gain
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 mp3gain Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mp3gain
using apt-get
by running the following command:
sudo apt-get -y install mp3gain
Install mp3gain Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mp3gain
using apt
by running the following command:
sudo apt -y install mp3gain
Install mp3gain 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 mp3gain
using aptitude
by running the following command:
sudo aptitude -y install mp3gain
How To Uninstall mp3gain on Debian 11
To uninstall only the mp3gain
package we can use the following command:
sudo apt-get remove mp3gain
Uninstall mp3gain And Its Dependencies
To uninstall mp3gain
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove mp3gain
Remove mp3gain Configurations and Data
To remove mp3gain
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge mp3gain
Remove mp3gain configuration, data, and all of its dependencies
We can use the following command to remove mp3gain
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mp3gain
Dependencies
mp3gain have the following dependencies:
References
Summary
In this tutorial we learn how to install mp3gain
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.