Rip an Audio CD in Linux

Here's how to have a rippin' good time ripping an audio CD in Linux.

Install

So many tools, but here's a great cli:

sudo apt install abcde

Find CD-ROM

Insert your CD, then find the device:

lsblk

Look for the "Rom" line, like this:

NAME              MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
...
sr0                11:0    1 382.1M  0 rom

/dev/sr0 is the CD-ROM drive in this case.

Rip it Good

Now you're ready to extract the audio. Here, we'll use a great lossless format, .flac:

abcde -d /dev/sr0 -o flac

This will start spinning the CD. You'll be asked some questions about how to name this files and use metadata from CDDB. Press y, for yes, through those, and let the ripping begin.