linux下媒体播放器MPlayer-1.0pre7的安装(转)[@more@]测试环境为 redhat 9.0
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 启动.
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 启动.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10617731/viewspace-960610/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10617731/viewspace-960610/