You need abcde which is a command line front end to rip songs:
apt-get install abcde
To get songs 1 to 3 from the CD in /dev/cdrom:
abcde will do the job again, but you need lame (an mp3 encoder which is not in debian).
Make sure you have the following line in your /etc/apt/sources.list:
deb http://marillat.free.fr/ stable main
apt-get install lame
To rip song 1 in mp3 format:
abcde -o mp3 1
Notice that you should pay royalties for encoding in the mp3 format.
sudo aptitude install sound-juicer
Les titres des chansons ne sont pas retrouvés?
Et ça marche.