Buscar en Mind w/o Soul

sábado, noviembre 08, 2008

HOW TO install cdrecords in Ubuntu Hardy

Instead of cdrkit:

This has been an interesting debugging journey. The cdrkit tools (wodim, et al) on Hardy have bugs that don't show up until later and, in my case, if I hadn't had an XP system to test on, would have resulted in a huge waste of time, energy, money, and good will. And, the bugs have been known for quite some time and have not been addressed in Hardy. I don't trust cdrkit any more. I understand that there are strong personalities involved and licensing subtleties that matter to distribution support. However, for my personal use, I just really couldn't care less about any of that.

Bottom line, I need for the tools to work reliably; cdrkit doesn't, cdrtools does. If there are licensing issues, well, that's what the "free nonfree" good/bad/ugly repositories are all about, right? I'm marginally Linux-competent, enough to get cdrtools working, with your guidance. What about the poor Windows user trying out Ubuntu for the first time?



# Open a terminal window (Konsole in Kubuntu) and enter
# the following commands

# Make sure you're in the home folder
cd ~

# Make a working folder and change to it
mkdir cdrtools
cd cdrtools

# Download latest cdrtools from http://cdrecord.berlios.de/private/linux-dist.html
wget ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-beta.tar.gz

# Unpack
tar xzf cdrtools-beta.tar.gz

# CD to the directory cdrtools is in.
cd cdrtools-2.01.01

# Compile and install
sudo make
sudo make install
sudo make clean

# Files are installed to /opt/schily
# (you may want to change their ownership to root:root)
sudo chown root:root /opt/schily/bin/*

# Move the following files (some will be links) from /usr/bin to a junk folder...
sudo mkdir /opt/schily/replacedfiles
sudo mv /usr/bin/cdrecord /opt/schily/replacedfiles
sudo mv /usr/bin/genisoimage /opt/schily/replacedfiles
sudo mv /usr/bin/mkisofs /opt/schily/replacedfiles
sudo mv /usr/bin/readom /opt/schily/replacedfiles
sudo mv /usr/bin/wodim /opt/schily/replacedfiles

# Create links:
sudo ln -s /opt/schily/bin/cdrecord /usr/bin/cdrecord
sudo ln -s /opt/schily/bin/cdrecord /usr/bin/cdrecord
sudo ln -s /opt/schily/bin/mkisofs /usr/bin/genisoimage
sudo ln -s /opt/schily/bin/mkisofs /usr/bin/mkisofs
# Is the following correct (is readcd a version of readom??)
sudo ln -s /opt/schily/bin/readcd /usr/bin/readom
sudo ln -s /opt/schily/bin/cdrecord /usr/bin/wodim
sudo ln -s /opt/schily/bin/readcd /usr/bin/readcd
sudo ln -s /opt/schily/bin/mkhybrid /usr/bin/mkhybrid
sudo ln -s /opt/schily/bin/cdda2wav /usr/bin/cdda2wav

# Remove working folder
cd ~
sudo rm -r cdrtools

No hay comentarios: