Introduction to Cdrtools

The Cdrtools package contains CD recording utilities. These are useful for reading, creating or writing (burning) Compact Discs.

Package Information

Additional Downloads

User Notes:

Installation of Cdrtools



Installation of Cdrtools will fail if raw kernel headers are found in /usr/src/linux either as actual files or a symlink. As of the Linux 2.6 kernel series, this directory should no longer exist because appropriate headers were installed in the linux-libc-headers package during the base LFS installation.

When creating an ISO 9660 image with mkisofs, the character set of the filenames used must be specified unless it is ISO-8859-1, the default. If the character set is not specified correctly, then non-ASCII filenames will be unreadable on other systems, such as Microsoft Windows. This patch allows any input character set supported by Glibc (such as UTF-8) to be specified to mkisofs, as opposed of the short list of built-in encodings. Also, the default input character set is set to that of the current locale, which is the correct behavior. To address this situation, apply the mkisofs_iconv patch:

patch -Np1 -i ../cdrtools-2.01-mkisofs_iconv-1.patch

The cdrecord program has hard-coded non-ASCII characters in its messages. Since these characters are part of the ISO-8859-1 character set, they will not be displayed correctly in locales that use a different character set, such as UTF-8. The following patch converts these characters to ASCII approximations:

patch -Np1 -i ../cdrtools-2.01-ascii-2.patch

Install Cdrtools by running the following commands:


This package does not come with a test suite.

Now, as the root user:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -v -m755 -d /usr/share/doc/cdrtools-2.01 &&
install -v -m644 README* ABOUT doc/*.ps \

Command Explanations

INS_BASE=/usr: This parameter moves the install directory from /opt/schily to /usr.

DEFINSUSR=root DEFINSGRP=root: These parameters install all programs with root:root ownership instead of the default bin:bin.


Installed Programs: cdda2wav, cdrecord, devdump, isodebug, isodump, isoinfo, isovfy, mkhybrid, mkisofs, readcd, rscsi, scgcheck, and skel
Installed Libraries: libdeflt.a, libedc_ecc.a, libfile.a, libhfs.a, libparanoia.a, librscg.a, libscg.a, libschily.a, and libunls.a
Installed Directories: None

Short Descriptions


converts Compact Disc audio into WAV sound files.


records audio or data Compact Discs.


is a diagnostic program used to dump an ISO-9660 device or file in hex.


is used to display the command-line parameters used to create an ISO-9660 image.


is a diagnostic program used to dump a device or file based on ISO-9660.


is used to analyze or list an ISO-9660 image.


is used to verify an ISO-9660 image.


is a symbolic link to mkisofs used to create ISO-9660/HFS hybrid filesystem images.


is used to create ISO-9660/JOLIET/HFS filesystem images, optionally with Rock Ridge attributes.


reads or writes Compact Discs.


is a remote SCSI manager.


is used to check and verify the Application Binary Interface of libscg.


is a highly portable SCSI transport library.

Last updated on 2007-04-04 14:42:53 -0500