以我的版本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:
- Supported
- Red Hat Enterprise Linux 5 / i386:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
- Red Hat Enterprise Linux 5 / x86_64:
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
- Red Hat Enterprise Linux 4 / i386:
rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
- Red Hat Enterprise Linux 4 / x86_64:
rpm -Uhv http://apt.sw.be/redhat/el4/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
- Red Hat Enterprise Linux 3 / i386:
rpm -Uhv http://apt.sw.be/redhat/el3/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el3.rf.i386.rpm
- Red Hat Enterprise Linux 3 / x86_64:
rpm -Uhv http://apt.sw.be/redhat/el3/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el3.rf.x86_64.rpm
- Red Hat Enterprise Linux 2 / i386:
rpm -Uhv http://apt.sw.be/redhat/el2.1/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el2.rf.i386.rpm
- Red Hat Linux 9 / i386:
rpm -Uhv http://apt.sw.be/redhat/9/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.rh9.rf.i386.rpm
- Red Hat Linux 7.3 / i386:
rpm -Uhv http://apt.sw.be/redhat/8.0/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.rh7.rf.i386.rpm
Place your comment