Linux: 安装播放器 Install mplayer (on linux9)

 网上说有rpm版本下载,可是没下到,下了个bz2,看看README搞定了:)
运气很好,记录一下,自己以后也好reference

#download mplayer from http://www.mplayerhq.hu/homepage/design7/dload.html
#get a archive: mplayer-1.0.20060102.tar.bz2
#copy the .bz2 file to /usr/lib/codecs
    mkdir usr/lib/codecs
    cd usr/lib/codecs
    cp /.../.../myDownloadDir/mplayer-1.0.20060102.tar.bz2 /usr/lib/codecs
    tar -jxvf mplayer-1.0.20060102.tar.bz2
    cd mplayer-1.0.20060102
    ./configure --help
#to see how to install the program
#if you want to use the GUI, you need to run the configure with the option [--enable-gui]
    ./configure --enable-gui
#My system is Chinese edition, so, the charset "zh_CN" is set by default in the system
#and the skin is not a part of the distribution, so, we need to download the skin files from
#from the site http://www.mplayerhq.hu/homepage/design7/dload.html
#of course, we need to make the program first
    make
#this will spend a lit time. jus await it
#OK? to install
    make install
#if you want to uninstall the mplayer, you could type this command: make uninstall
#condition: keep all the install file
#after installed the mplayer, you can run it
#type [man mplayer] for more info.
#now, we run the gmplayer
    gmplayer
#may be, one error would occur: "no avaible font ttf"
#dir /usr/share/fonts
#I could see the zh_CN folder
#can you see ?
#if you can not, download the charset from the internet or reinstall the charset for your
#system
#if error occured, copy the /usr/share/fonts/zh_CN/TrueType/gbsn00lp.ttf to overwrite
#the xxx.ttf that the gmplayer prompted
#OK, enjoy yourself

 


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值