Introduction to Cdrdao

The Cdrdao package contains CD recording utilities. These are useful for burning a CD in disk-at-once mode.

This package is known to build and work properly using an LFS-8.2 platform.

Package Information

Cdrdao Dependencies


User Notes:

Installation of Cdrdao

Install Cdrdao by running the following commands:

sed -i '/ioctl.h/a #include <sys/stat.h>' dao/             &&
sed -i 's/\(char .*REMOTE\)/unsigned \1/' dao/CdrDriver.{cc,h}            &&
sed -i 's/bitrate_table.1..i./lame_get_bitrate(1, i)/g' utils/  &&

./configure --prefix=/usr --mandir=/usr/share/man &&

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/cdrdao-1.2.3 &&
install -v -m644 README /usr/share/doc/cdrdao-1.2.3

Command Explanations

sed -i '/ioctl/a #include <sys/stat.h>' ...: This sed adds a missing sys/stat.h include.

sed -i 's/\(char .*REMOTE\)/unsigned \1/' ...: This sed stops gcc-6.1 from stopping the build due to C++ now treating an 'int' to 'char' conversion as an error.

sed -i ... bitrate_table ...: This sed is needed for compatibility with LAME-3.100.

--mandir=/usr/share/man: Install manual pages in /usr/share/man instead of /usr/man.


Installed Programs: cdrdao, cue2toc, toc2cddb, toc2cue and optionally toc2mp3
Installed Libraries: None
Installed Directories: /usr/share/cdrdao, /usr/share/doc/cdrdao-1.2.3

Short Descriptions


records audio or data CD-Rs in disk-at-once (DAO) mode based on a textual description of the CD contents.


converts CUE to TOC format for audio CDs.


converts a Cdrdao TOC file into a cddb file and prints it to stdout.


converts TOC to CUE format for audio CDs.


converts an audio CD disk image (.toc file) to MP3 files.

Last updated on 2018-02-24 22:27:10 -0600