===== CentOS 7.1 で EPEL, RPM Fusion, Remi, RepoForge(RPM Forge) リポジトリを利用する =====  パッケージをインストールするために以下のコマンドを実行する。必ず epel パッケージを入れてから、rpmfusion のパッケージを入れること。(依存関係があるため) ==== Extra Packages for Enterprise Linux (EPEL) ==== [[http://fedoraproject.org/wiki/EPEL|EPEL - FedoraProject]]\\ $ sudo yum install epel-release or\\ $ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm を取得中 警告: /var/tmp/rpm-tmp.vInoCB: ヘッダー V4 RSA/SHA256 Signature、鍵 ID 352c64e5: NOKEY 準備しています... ################################# [100%] 更新中 / インストール中... 1:epel-release-7-14 ################################# [ 50%] 整理中 / 削除中... 2:epel-release-7-11 ################################# [100%] ==== RPM Fusion ==== [[http://rpmfusion.org/|RPM Fusion - RPM Fusion]]\\ $ sudo rpm -Uvh https://ftp-stud.hs-esslingen.de/pub/Mirrors/rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-4.noarch.rpm https://ftp-stud.hs-esslingen.de/pub/Mirrors/rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-4.noarch.rpm を取得中 警告: /var/tmp/rpm-tmp.9QzvvP: ヘッダー V4 RSA/SHA1 Signature、鍵 ID f5cf6c1e: NOKEY 準備しています... ################################# [100%] 更新中 / インストール中... 1:rpmfusion-free-release-7-4 ################################# [100%] $ sudo rpm -Uvh https://uvermont.mm.fcix.net/rpmfusion/nonfree/el/updates/7/x86_64/r/rpmfusion-nonfree-release-7-4.noarch.rpm https://uvermont.mm.fcix.net/rpmfusion/nonfree/el/updates/7/x86_64/r/rpmfusion-nonfree-release-7-4.noarch.rpm を取得中 警告: /var/tmp/rpm-tmp.qk9lmK: ヘッダー V4 RSA/SHA1 Signature、鍵 ID a3108f6c: NOKEY 準備しています... ################################# [100%] 更新中 / インストール中... 1:rpmfusion-nonfree-release-7-4 ################################# [100%] ==== Remi ==== [[http://rpms.famillecollet.com/|RepoView: Les RPM de Remi]]\\ $ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm http://rpms.famillecollet.com/enterprise/remi-release-7.rpm を取得中 警告: /var/tmp/rpm-tmp.sia3uI: ヘッダー V4 DSA/SHA1 Signature、鍵 ID 00f97f56: NOKEY 準備しています... ################################# [100%] 更新中 / インストール中... 1:remi-release-7.9-5.el7.remi ################################# [100%] ==== RepoForge (旧 RPMForge) ==== [[http://repoforge.org/use/|Using RepoForge]]\\ [[http://pkgs.repoforge.org/|RPMForge]]\\ ✖インストールできません😅\\ $ sudo rpm -Uvh http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm を取得中 curl: (22) The requested URL returned error: 404 Not Found エラー: http://repository.it4i.cz/mirrors/repoforge/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm をスキップします - 転送に失敗しました \\ もしも、上記のコマンドで転送エラーが発生する場合は、wget してから rpm -Uvh する。\\ # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm # rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm ==== リポジトリ設定 ==== $ sudo yum install yum-plugin-priorities $ sudo vi /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 priority=1 <- 追加 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 priority=1 <- 追加 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 priority=1 <- 追加 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 priority=1 <- 追加 $ sudo vi /etc/yum.repos.d/remi.repo [remi] name=Les RPM de remi pour Enterprise Linux 7 - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/7/remi/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/7/remi/mirror enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 [remi-php55] name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/7/php55/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/7/php55/mirror # WARNING: If you enable this repository, you must also enable "remi" enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 [remi-php56] name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/7/php56/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/7/php56/mirror # WARNING: If you enable this repository, you must also enable "remi" enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 [remi-test] name=Les RPM de remi en test pour Enterprise Linux 7 - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/7/test/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/7/test/mirror # WARNING: If you enable this repository, you must also enable "remi" enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 ==== 参考文献 ==== [[http://repoforge.org/use/|User Guide - Repoforge]]\\ ===== CentOS 6 で EPEL, RPM Fusion, Remi, RepoForge(RPM Forge) リポジトリを利用する =====  パッケージをインストールするために以下のコマンドを実行する。必ず epel パッケージを入れてから、rpmfusion のパッケージを入れること。(依存関係があるため) ==== Extra Packages for Enterprise Linux (EPEL) ==== [[http://fedoraproject.org/wiki/EPEL|EPEL - FedoraProject]]\\ $ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm を取得中 警告: /var/tmp/rpm-tmp.LCUlTP: ヘッダ V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY 準備中... ########################################### [100%] 1:epel-release ########################################### [100%] ==== RPM Fusion ==== [[http://rpmfusion.org/|RPM Fusion - RPM Fusion]]\\ $ sudo rpm -Uvh http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/free/el/updates/6/x86_64/rpmfusion-free-release-6-1.noarch.rpm を取得中 警告: /var/tmp/rpm-tmp.yVZqIj: ヘッダ V3 RSA/SHA256 Signature, key ID 849c449f: NOKEY 準備中... ########################################### [100%] 1:rpmfusion-free-release ########################################### [100%] $ sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/rpmfusion-nonfree-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/x86_64/rpmfusion-nonfree-release-6-1.noarch.rpm を取得中 警告: /var/tmp/rpm-tmp.LnDcW3: ヘッダ V3 RSA/SHA256 Signature, key ID 5568bbb2: NOKEY 準備中... ########################################### [100%] 1:rpmfusion-nonfree-relea########################################### [100%] ==== Remi ==== [[http://rpms.famillecollet.com/|RepoView: Les RPM de Remi]]\\ $ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm http://rpms.famillecollet.com/enterprise/remi-release-6.rpm を取得中 警告: /var/tmp/rpm-tmp.XlZfNB: ヘッダ V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY 準備中... ########################################### [100%] 1:remi-release ########################################### [100%] ==== RPMForge ==== [[http://pkgs.repoforge.org/|RPMForge]]\\ $ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm を取得中 警告: /var/tmp/rpm-tmp.GxNwyu: ヘッダ V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY 準備中... ########################################### [100%] 1:rpmforge-release ########################################### [100%] \\ 上記のコマンドで転送エラーが発生する場合は、wget してから rpm -Uvh する。\\ # wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm # rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm ==== リポジトリ設定 ==== $ sudo yum install yum-plugin-priorities $ sudo vi /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 priority=1 <- 追加 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 priority=1 <- 追加 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 priority=1 <- 追加 $ sudo vi /etc/yum.repos.d/remi.repo [remi] name=Les RPM de remi pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi failovermethod=priority priority=1 <- 追加 [remi-php55] name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/6/php55/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/6/php55/mirror # WARNING: If you enable this repository, you must also enable "remi" enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 [remi-php56] name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/6/php56/mirror # WARNING: If you enable this repository, you must also enable "remi" enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 [remi-test] name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/test/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/test/mirror enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi priority=1 <- 追加 ==== 参考文献 ==== [[http://repoforge.org/use/|User Guide - Repoforge]]\\ ===== CentOS 5.5 で RPM Fusion を利用する =====  RPM Fusion 利用できるように設定すると、pgAdmin3 や GKrellM など、標準の CentOS ではインストールできないパッケージがインストールできるようになる。\\ ==== RPM Fusion リポジトリの追加方法 ====  パッケージをインストールするために以下のコマンドを実行する。必ず epel パッケージを入れてから、rpmfusion のパッケージを入れること。(依存関係があるため)\\ # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/x86_64/rpmfusion-free-release-5-0.1.noarch.rpm # rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/x86_64/rpmfusion-nonfree-release-5-0.1.noarch.rpm ===== 参考文献 ===== [[http://fedoraproject.org/wiki/EPEL/FAQ#howtouse|How can I install the packages from the EPEL software repository?]]\\ [[http://rpmfusion.org/Configuration/|Configuration - RPM Fusion]]\\