1. 安裝code
tar xjvf all-20050412.tar.bz2
mv all-20050412 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*
unzip windows-all-20050115.zip //or tar xjvf essential-20050412.tar.bz2 mv windows-all-20050115 /usr/lib/wincodes //or mv essential-20050412 /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*
2.安裝MPlayer
tar vjxf MPlayer-1.0pre7.tar.bz2
cd MPlayer-1.0pre7
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --with-codecsdir=/usr/lib/codes/ --with-win32libdir=/usr/lib/wincodes/
參數說明:
./configure \ #詳細說明見./configure --help
--prefix=/usr/local/mplayer/ \ #安裝路徑
--enable-gui \ #如果你只在命令下用可以不要這個,相信是不會的
\ #方便以後調整字體
--with-codecsdir=/usr/lib/codes/ \ #我們把下載的插件拷貝到這裡
--with-win32libdir=/usr/lib/wincodes/ \ #指定win32代碼目錄
make
make install
時間較長
cd etc
cp example.conf /usr/local/mplayer/etc/config
cp codecs.conf /usr/local/mplayer/etc/
3.安裝字體 #cd ---/mplayer-pre7
tar xjvf gb2312-ming.tar.bz2
mv gb2312-ming /usr/local/mplayer/share/mplayer/font/
cd /usr/local/mplayer/share/mplayer/font/
ln -s gb2312-ming font
4.安裝皮膚
tar vjxf Blue-1.4.tar.bz2
mv Blue /usr/local/mplayer/share/mplayer/Skin/
cd /usr/local/mplayer/share/mplayer/Skin/
ln -s Blue default
桌面啟動
創建啟動器
名稱:MPlayer
命令令: /usr/local/mplayer/bin/gmplayer
然後選擇一個你喜歡的圖標.
也可以在終端用/usr/local/mplayer/bin/gmplayer 啟動.
補充............................................. 測試環境為 redhat 9.0
摘自:LinuxSir.Org