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

来源:互联网 发布:重庆niit软件学院 编辑:程序博客网 时间:2024/05/03 04:31
 网上说有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

 


原创粉丝点击