韌館-LearnHouse

如何在linux上安裝VLC播放器(VideoLAN)

以我的版本CentOS 5.0為例,首先編輯/etc/yum.conf,加入

[dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/daggpgcheck=1enabled=1[dries]name=Extra Fedora rpms dries - $releasever - $basearchbaseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el5/en/i386/dries/RPMSenabled=1[atrpms]name=Fedora Core $releasever - $basearch - ATrpmsbaseurl=http://dl.atrpms.net/el5-i386/atrpms/stableenabled=0

再來開始安裝vlc,執行yum install vlc,就會出現很多相依套件要安裝 

Tips:
1.若有出現TimeOut的情形,根據錯誤訊息把它註解掉

2.安裝相依套件時如果出現warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6,確認過用rpm --import http://ftp2.tnc.edu.tw/pub1/centos/RPM-GPG-KEY-CentOS-5與rpm --import /usr/share/doc/centos-release-5/RPM-GPG-KEY-CentOS-5無效後,可以參考此網站的解法。

B2. How to configure to use RPMforge ?
It's very easy. Just install the latestrpmforge-release packagefor your distribution and architecture.

This will automatically install the configuration and GPG keys that arefor safely installing RPMforge packages.

Please select the correct command from the following list:

2008年5 月 posted by admin in Linux and have No Comments

Place your comment

Please fill your data and comment below.
名稱:
信箱:
網站:
您的評論: