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