Rip an Audio CD

Just Rip to WAV

apt install -y cdparanoia

DISK=/dev/sr0

# check disk
cdparanoia -d ${DISK} -Q

# rip to wav
cdparanoia -d ${DISK} -B

Disc ID

apt install -y cd-discid

DISK=/dev/sr0

cd-discid ${DISK}

Rip, Encode, Tag, etc...

apt install -y abcde flac

DISK=/dev/sr0

abcde -a cddb,read,encode,tag,move,replaygain,clean -d ${DISK} -j $(nproc) -o flac -p -x

Tip

abcde as packaged uses the v1 MusicBrainz API, which has been taken down. If you want lables, try cloning https://git.einval.com/git/abcde.git, and putting the binaries in your PATH.

Install WebService::MusicBrainz

You may need to install / update the WebService::MusicBrainz perl module.

cpan Mojolicious

git clone https://github.com/bfaist/webservice-musicbrainz.git
cd webservice-musicbrainz
perl Makefile.PL
make
make test
make install