linux:centos:rpmfusion

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
linux:centos:rpmfusion [2024/02/04 13:45] – 削除 - 外部編集 (Unknown date) 非ログインユーザーlinux:centos:rpmfusion [2024/02/04 13:45] (現在) – ↷ linux:centos_rpmfusion から linux:centos:rpmfusion へページの移動と名称変更しました。 ともやん
行 1: 行 1:
 +===== CentOS 7 で EPEL, RPM Fusion, Remi, RepoForge(RPM Forge), Nux Dextop リポジトリを利用する =====
 + パッケージをインストールするために以下のコマンドを実行する。必ず epel パッケージを入れてから、rpmfusion のパッケージを入れること。(依存関係があるため)
 +
 +==== Extra Packages for Enterprise Linux (EPEL) ====
 +[[http://fedoraproject.org/wiki/EPEL|EPEL - FedoraProject]]\\
 +
 +Red Hat Enterprise Linux や CentOS で Fedora と同等環境を実現する信頼性の高いパッケージの提供するレポジトリ。\\
 +目標の Fedora と同等環境にはほど遠いものの、多数の有用なパッケージが収録されている。\\
 +正式名称は Extra Packages for Enterprise Linux。\\
 +[[wpjp>Fedora|Fedora - Wikipedia]] より\\
 +
 +<code>
 +$ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
 +https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm を取得中
 +警告: /var/tmp/rpm-tmp.MUvuuH: ヘッダー V3 RSA/SHA256 Signature、鍵 ID 352c64e5: NOKEY
 +準備しています...              ################################# [100%]
 +更新中 / インストール中...
 +   1:epel-release-7-11                ################################# [100%]
 +</code>
 +
 +==== RPM Fusion ====
 +[[http://rpmfusion.org/|RPM Fusion - RPM Fusion]]\\
 +<code>
 +$ sudo rpm -Uvh http://download1.rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-1.noarch.rpm
 +[sudo] tomoyan のパスワード:
 +http://download1.rpmfusion.org/free/el/updates/7/x86_64/r/rpmfusion-free-release-7-1.noarch.rpm を取得中
 +警告: /var/tmp/rpm-tmp.FB57Ii: ヘッダー V4 RSA/SHA1 Signature、鍵 ID f5cf6c1e: NOKEY
 +準備しています...              ################################# [100%]
 +更新中 / インストール中...
 +   1:rpmfusion-free-release-7-1       ################################# [100%]
 +</code>
 +
 +==== Remi ====
 +[[http://rpms.famillecollet.com/|RepoView: Les RPM de Remi]]\\
 +<code>
 +$ 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.OfAx8D: ヘッダー V3 DSA/SHA1 Signature、鍵 ID 00f97f56: NOKEY
 +準備しています...              ################################# [100%]
 +更新中 / インストール中...
 +   1:remi-release-7.0-1.el7.remi      ################################# [100%]
 +</code>
 +
 +==== RPMForge(終了?) ====
 +[[http://pkgs.repoforge.org/|RPMForge]]\\
 +<html><!--<code>
 +$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
 +http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm を取得中
 +警告: /var/tmp/rpm-tmp.999Ju4: ヘッダー V3 DSA/SHA1 Signature、鍵 ID 6b8d79e6: NOKEY
 +準備しています...              ################################# [100%]
 +更新中 / インストール中...
 +   1:rpmforge-release-0.5.3-1.el7.rf  ################################# [100%]
 +</code>--></html>
 +\\
 +上記のコマンドで転送エラーが発生する場合は、wget してから rpm -Uvh する。\\
 +<code>
 +# 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
 +</code>
 +
 +==== Nux Dextop repository ====
 +[[http://nux.ro/ | Nux!]]\\
 +<code>
 +$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
 +</code>
 +
 +==== リポジトリ設定 ====
 +<code>
 +$ sudo yum install yum-plugin-priorities
 +</code>
 +<code>
 +$ 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 <- 追加
 +</code>
 +<code>
 +$ 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 <- 追加
 +</code>
 +==== 参考文献 ====
 +[[http://repoforge.org/use/|User Guide - Repoforge]]\\
 +[[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]]\\
 +