Linux HOWTOs

About | Home | Search


ERROR: Slooooow dooooown... this page load was delayed.

HOWTO: cdparanoia
Description: A CD ripper: Reads audio from CDs, saves it to sound files
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# cdparanoia III 9.8
# ==================
# Slackware 9.0, 9.1, 10.0, 10.1, and 10.2's 'cdparanoia' packages include
# version III 9.8

cd
test -f installed/cdparanoia-III-alpha9.8.src.tgz &&
 mv installed/cdparanoia-III-alpha9.8.src.tgz .
test ! -f cdparanoia-III-alpha9.8.src.tgz &&
 wget http://downloads.xiph.org/releases/cdparanoia/\
cdparanoia-III-alpha9.8.src.tgz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "cdparanoia-III-alpha*" -exec rm -r {} \;
tar xzvf ~/cdparanoia-III-alpha9.8.src.tgz
cd cdparanoia-III-alpha9.8
test $UID = 0 && chown -R root:root .

# If you use gcc 3.4.x (run 'gcc --version' to check), apply this patch:
wget -nc http://englanders.cc/pub/linux/patches/\
cdparanoia-III-alpha9.8-gcc34.patch &&
 patch -p0 < cdparanoia-III-alpha9.8-gcc34.patch

./configure --prefix=/usr
make

# Become root to install it
su

removepkg cdparanoia
( cd /usr/lib ; rm -f libcdda_interface.* libcdda_paranoia.* )
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/cdparanoia-*.tgz installed/cdparanoia-*.tar.*
mv cdparanoia-III-alpha9.8.src.tgz installed/


# If you ever want to uninstall cdparanoia, this should do it:
cd
su
test -d src/cdparanoia-III-alpha9.8 &&
 ( cd src/cdparanoia-III-alpha9.8 ; make uninstall )
rm -f /usr/bin/cdparanoia /usr/man/man1/cdparanoia.1
( cd /usr/include ; rm -f cdda_interface.h cdda_paranoia.h utils.h )
rm -f /usr/lib/libcdda_paranoia.* /usr/lib/libcdda_interface.*
exit
find ~/src -maxdepth 1 -type d -name "cdparanoia-III-*" -exec rm -r {} \;
rm -f ~/installed/cdparanoia-III-*.tar.*

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>