红联Linux门户
Linux帮助

Fedora 7上编译安装最新的MPlayer-1.0rc1

发布时间:2007-07-19 16:02:21来源:红联作者:Fedoraai
  1 下载mplayer的源码包
  wget http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2

  2 解压缩
  # tar jxvf MPlayer-1.0rc1.tar.bz2

  3 编译
  # cd MPlayer-1.0rc1
  # ./configure --prefix=/usr/local/mplayer --with-codecsdir=/usr/lib/codecs --enable-gui --language=zh_CN ;make;make install

  4 下载皮肤和字体并安装
  # wget http://www.mplayerhq.hu/MPlayer/skins/DVDPlayer-1.1.tar.bz2
  # wget http://www.mplayerhq.hu/MPlayer/contrib/fonts/chinesefonts/gb2312-ming.tar.bz2
  # tar jxvf DVDPlayer-1.1.tar.bz2
  # tar jxvf gb2312-ming.tar.bz2
  # cd gb2312-ming/gbsn00lp16
  # cp * /usr/local/mplayer/share/mplayer/font/
  # cd ../..
  # mkdir /usr/local/mplayer/share/mplayer/skins/default ; cp -a DVDPlayer/* /usr/local/mplayer/share/mplayer/skins/default

  5 下载解码器
  wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2

  解压缩后将全部解码器复制到/usr/lib/codecs目录下

  安装xlock,一个root可用screen lock

  在gnome下如果用root登录x,那么默认的screen lock是无法锁住桌面的,我们可以使用xlock来完成这个任务

  yum install -y xlockmore
文章评论

共有 1 条评论

  1. hobo2008 于 2008-07-04 16:07:59发表:

    :0)1