因為在 CentOS 5.0 內已經安裝有 Sound Juicer 可以將音樂 CD 抓成 WAV 或 ogg 格式, 但是沒有預設可以轉成 mp3 或將 ogg 轉成 mp3 的工具, 經過 Google 的找尋知道有個 ogg2mp3.pl 的工具 Script 可以達成這樣的工作, 但是需要一些相配合的工具程式協同作業, 所以整理一下安裝的過程..
yum install -y vorbis-tools cd /tmp wget http://nchc.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz tar -zxvf lame-3.97.tar.gz cd lame-3.97 ./configure make make install cd /tmp wget http://nekohako.xware.cx/id3tool/id3tool-1.2a.tar.gz tar -zxvf id3tool-1.2a.tar.gz cd id3tool-1.2a ./configure make make install cd /usr/local/bin wget http://www.igso.net/share/nkb/ogg2mp3.pl chmod a+x ogg2mp3.pl
ogg2mp3.pl /data/cdrip/testcd1/*.ogg
ogg2mp3.pl /data/cdrip/testcd1