mp3gain command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mp3gain: command not found
or when using sudo you get the following error message
sudo: mp3gain: command not found
Solutions to mp3gain: command not found
How To Fix mp3gain: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mp3gain is provided by mp3gain package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mp3gain
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mp3gain.
sudo apt -y install mp3gain
Or if you have aptitude installed you can use the following command.
sudo aptitude install mp3gain
Summary
In this tutorial we learn how to fix mp3gain command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.