亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1411 | 回復(fù): 0
打印 上一主題 下一主題

centos中用yum安裝MPlayer [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2010-02-02 10:01 |只看該作者 |倒序?yàn)g覽

看一下centos 5的部分:
首先確定你安裝了
ProtectBase
.
Protectbase
yum-protectbase在CentOS 5包倉(cāng)庫(kù)里面有提供:#yum install yum-protectbase
在CentOS 5里面這個(gè)插件默認(rèn)啟動(dòng) .
編輯/etc/yum.repos.d/CentOS-Base.repo ,[base] 、[update][centosplus] 段末加上一行:
protect=1
讓 [centosplus] 段失效如下:
enabled=0
編輯/etc/yum.repos.d/CentOS-Base.repo ,在其它段的最后加上如下一行:
protect=0
rpmforge
下載rpmforge-release包.選擇下面兩個(gè)的其中一個(gè), 依賴(lài)于你的機(jī)器.如果不能確定用哪一個(gè)用以下命令確定 uname -i

(你可以在
http://dag.wieers.com/packages/rpmforge-release/
找到rpmforge-release包的完全列表,但是推薦使用上面列出兩個(gè)中的一個(gè)).
安裝DAG's GPG key
#rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
校驗(yàn)?zāi)阆螺d的包
#rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
安全警告: rpmforge-release包把GPG keys注射到你的RPM數(shù)據(jù)庫(kù)中. 只要你驗(yàn)證包和相信Dag,它應(yīng)該是安全的.
安裝包
#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.*.rpm
這一步會(huì)加入yum倉(cāng)庫(kù)配置文件,注射合適的GPG keys.
用以下命令測(cè)試:
#yum check-update
應(yīng)該會(huì)有以下兩行輸出:
Loading "protectbase" plugin
...
76 packages excluded due to repository protections

上面的數(shù)字可能不同, 但應(yīng)該有幾種包顯示會(huì)排除在外.
如果是這樣大概它可以運(yùn)轉(zhuǎn)了,試著你這樣安裝一些東西 :
#yum install mplayer
PS: 發(fā)現(xiàn)一個(gè)MPlayer的另一個(gè)前端SMPlayer也可以使用.沒(méi)有編譯好的RPM包.但是這個(gè)
SUSE的RPM包
可以用.

/etc/yum.repos.d/CentOS-Base.repo內(nèi)容示范:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-5 - Base
baseurl=http://mirror.be10.com/centos/5/os/i386/
gpgcheck=1
protect=1
#released updates
[update]
name=CentOS-5 - Updates
baseurl=http://mirror.be10.com/centos/5/updates/i386/
gpgcheck=1
protect=1
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
baseurl=http://mirror.be10.com/centos/5/addons/i386/
gpgcheck=1
protect=0
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
baseurl=http://mirror.be10.com/centos/5/extras/i386/
gpgcheck=1
protect=0
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
baseurl=http://mirror.be10.com/centos/5/centosplus/i386/
gpgcheck=1
enabled=0
protect=1
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
baseurl=http://mirror.be10.com/centos/5/contrib/i386/
gpgcheck=1
enabled=0
protect=0
#packages in testing
[testing]
name=CentOS-5 - Testing
baseurl=http://mirror.be10.com/centos/5/testing/i386/
gpgcheck=1
enabled=0
protect=0
當(dāng)然,要想播放rm/rmvb還需要將codecs和wincodecs解壓到/usr/lib,就是把codecs解壓到/usr/lib/codecd, wincodecd解壓到/usr/lib/wincodecs。


本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u3/93729/showart_2167045.html
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP