1.首先下载下列四个文件放到 /root/download/mplayer/ 下,MPlayer-1.0rc2.tar
下载:http://www.mplayerhq.hu/MPlayer/releases/
2.编解码codecs:all-20071007.tar.bz2、windows-all-20071007.zip
下载:http://www.mplayerhq.hu/MPlayer/releases/codecs/
3.皮肤:Blue-1.7.tar.bz2
下载:http://www.mplayerhq.hu/MPlayer/skins/
4.字体:gb2312-ming.tar.bz2
5.安装codecs:
#mkdir /usr/lib/codecs/
#cd /root/download/mplayer/
#tar vjxf all-20071007.tar.bz2
#mv all-20071007/* /usr/lib/codecs/
#chmod 644 /usr/lib/codecs/*
#chown root.root /usr/lib/codecs/*
#mkdir /usr/lib/wincodecs/
#unzip windows-all-20071007.zip
#mv windows-all-20071007/* /usr/lib/wincodecs
#chmod 644 /usr/lib/wincodes/*
#chown root.root /usr/lib/wincodecs/*
6.安装mplayer:
#cd /root/download/mplayer/
#tar vjxf MPlayer-1.0rc2.tar.ba2
#cd MPlayer-1.0rc2
#./configure –enable-gui –win32codecsdir=/usr/lib/win32 –codecsdir=/usr/lib/codecs –language=zh_CN
(不要用–prefix=/usr/local/mplayer等,我用了后mplayer安装出错
#make
#make install
7.安装皮肤
复制皮肤到/usr/local/share/mplayer/skins/default下
#cd /root/download/mplayer/
#tar vjxf Blue-1.7.tar.bz2
#mv Blue /usr/local/share/mplayer/skins/default
8.安装字体
#mkdir /usr/local/mplayer/share/mplayer/font/
#tar -vjxf gb2312-ming.tar.bz2
#cd gb2312-ming/gbsn00lp16/
#cp * /usr/local/mplayer/share/mplayer/font/
运行
图形模式:
#gmplayer
文本:
#mplayer
完毕!