Some time we have to use mp3 format because our moveable devices commonly don’t support flac/ogg, thus I need to convert a .flac file to mp3. It’s very simple:
First of all, install flac and lame package from your distribution’s repository.
Then, using the following command to actually covert the file.
flac -d filename.flac
This will output an filename.wav in the same directory.
Now a fresh filename.mp3 is lying in the same directory.