Re: [SOLVED] Why can't I install and use mkisofs, cdrecord instead of genisoimage and
Originally Posted by
IgnorantGuru
Someone asked me for a more detailed step-by-step so I will post it here. Please note that this is a brute force method for replacing wodim - your package manager will not be aware of the change and subsequent updates may break the software (though repeating these steps should restore it). However, since the Ubuntu folks refuse to release a package for cdrtools, this is one way to work around that.
Code:
# 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
Errors are generated in the process of compiling. Do I need some extra packages to compile the source?
That's perhaps a silly question. But I am just a newbie.
Thanks!
谁言别后终无悔,
寒月清宵绮梦回。
深知身在情长在,
前尘不共彩云飞。
Bookmarks