在Linux中支持mp3播放工具很多,常用的是xmms,bmp-mp3等;一、安裝的前提條件;請參看《用apt+synaptic 在線安裝或升級Fedora core 4.0 軟件包》;
安裝下面所說的這些軟件包,您可以用apt-get install 來安裝;也可以用 synaptic 來點鼠標安裝,建議初學者用synaptic,畢竟直觀;二、mp3和wma播放工具:1.媒體播放器xmms;xmms是最常用的,相對來說也比較穩定;支持mp3 、wma 、ogg等等
xmms對wma支持還算好,有時也會崩潰,但比bmp-mp3要好的多;
如果想讓xmms支持mp3和wma,就是通過上面提到的文章 ,把xmms相關的都安裝上,至於是不是需要,自己看一下說明就好了。Fedora core 4.0 中xmms不支持mp3,除了安裝xmms基礎的包以外,還要安裝xmms-mp3;
如果不知道怎麼回事,就全都選上;
2.媒體播放器bmp這個和xmms幾乎一樣的,因為是從xmms開發而來的,我不推薦用bmp-mp3;好象這個項目已經停了;如果支持wma,還得安裝 bmp-wma,但不能用,經常崩潰;
調用方法:
[beinan@localhost ~]$ beep-media-player
3.text模式下的mp3播放工具 mpg123這個工具在控制台下就能聽歌,是比較有意思,也是比較古老了;但的確實用;
用apt-get 來安裝,或者用synaptic點幾下鼠標就安裝上了;
[root@localhost fonts]# apt-get install mpg321 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libid3tag (0.15.1-3.b) libmad (0.15.1b-3.2.fc4) The following NEW packages will be installed: libid3tag (0.15.1-3.b) libmad (0.15.1b-3.2.fc4) mpg321 (0.2.10.3-0.lvn.1.4) 0 upgraded, 3 newly installed, 0 removed and 237 not upgraded. Need to get 166kB of archives. After unpacking 316kB of additional disk space will be used. Do you want to continue? [Y/n] Y 用法:
[beinan@localhost ~]$ mpg321 -g 100 mp3/*.mp3
4.Totem電影播放機 gstreamer-plugins-mp3插件;安裝這個插件後Totem就能播放mp3了;
[root@localhost beinan]# apt-get install gstreamer-plugins-mp3 Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: lame (3.96.1-2.2.fc4) The following NEW packages will be installed: gstreamer-plugins-mp3 (0.8.8-0.lvn.1.4) lame (3.96.1-2.2.fc4) 0 upgraded, 2 newly installed, 0 removed and 237 not upgraded. Need to get 570kB of archives. After unpacking 1531kB of additional disk space will be used. Do you want to continue? [Y/n]Y
[beinan@localhost ~]$ totem5、其它工具比如mplayer等,不多說了;