2012-08-01

【Linux】除官網外的 YUM RPM 套件/包 下載 / 更新網站

連一些很舊的版本都有得更新, 真是不錯.
YUM 自動化設定 最簡單的方法就是安裝 remi-release 套件
Fedora 11 i386, ppc, ppc64 or x86_64
wget http://rpms.famillecollet.com/remi-release-11.rpm
rpm -Uvh remi-release-11.rpm
Fedora 10 i386, ppc, ppc64 or x86_64
wget http://rpms.famillecollet.com/remi-release-10.rpm
rpm -Uvh remi-release-10.rpm
Fedora 9 i386, ppc, ppc64 or x86_64
wget http://rpms.famillecollet.com/remi-release-9.rpm
rpm -Uvh remi-release-9.rpm
Fedora 8 i386, ppc, ppc64 or x86_64
wget http://rpms.famillecollet.com/remi-release-8.rpm
rpm -Uvh remi-release-8.rpm
Fedora 7 i386, ppc or x86_64
wget http://rpms.famillecollet.com/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm
Fedora Core 6 i386, ppc or x86_64
wget http://rpms.famillecollet.com/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm
Fedora Core 5 (non maintened repository)
wget http://rpms.famillecollet.com/remi-release-5.rpm
rpm -Uvh remi-release-5.rpm
Fedora Core 4 (non maintened repository)
wget http://rpms.famillecollet.com/remi-release-4.rpm
rpm -Uvh remi-release-4.rpm
Fedora Core 3 (non maintened repository)
wget http://rpms.famillecollet.com/remi-release-3.rpm
rpm -Uvh remi-release-3.rpm
Enterprise Linux 5 (with EPEL)
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
Enterprise Linux 4 (with EPEL)
wget http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-9.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-4.rpm
rpm -Uvh remi-release-4*.rpm epel-release-4*.rpm
2.2. APT 設定
As for YUM, install the automatic configuration package. To enable the repository, you need to uncomment, in /etc/apt/sources.list.d/remi.list file, the line :
repomd http://rpms.famillecollet.com/ fc$(VERSION).$(ARCH)
2.3. SMART configuration
As for YUM, install the automatic configuration package. To enable the repository, you have to select it in the Edition / Channel menu.
2.3. YUM manual configuration
You just have to download the repository file configuration and to save it in the appropriate direcotry.
Fedora :
su -
cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/remi-fedora.repo
Enterprise Linux (RHEL, CentOS) :
su -
cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/remi-enterprise.repo
This file provides configuration for remi and remi-test repositories.
Notice : the repository is not enabled on install (enabled=0). You need to enable it when you need it, for example :
yum --enable remi install firefox-langpack-fr

3. Compatibility with other repositories

On Fedora, available RPM mainly use dependencies from  fedora, and updates repositories, sometime from Livna. (And, from Extras when Fedora <= 6) and now from Rpmfusion.
On Redhat and CentOS dépendencies are in main repositories and in EPEL. I really discourage you from using Rpmforge (well known conflicts with EPEL).
Exceptions are explained on the blog article of each RPM.

4. Remi's signature Installation (GPG Key)

This step is not required if you use a package manager (Yum of Apt).
The RPM validity check requires my key to be imported on your system before use. Download This GPG key and install it with :
rpm --import RPM-GPG-KEY-remi
YUM will propose you to automatic install it on first installation of a RPM from my repository.
You can list the installed key with :
rpm -q gpg-pubkey --qf "%{summary} ->%{version}-%{release}\n"
My old key fingerprint was : 00f97f56-4267cb5c
My new key fingerprint is : 00f97f56-467e318a

沒有留言:

張貼留言