LoginSignup
1
2

More than 5 years have passed since last update.

【個人メモ】 CentOS epel remi リポジトリの追加と有効化

Last updated at Posted at 2017-07-29

epel remi リポジトリを追加

環境構築時によく使うが、毎回ググってしまうためメモ

yum実行時に --enablerepo するのが面倒なため、有効化までを行う。

CentOS 6.8でやっています。

手順

epelのリポジトリを追加

sudo yum -y install epel-release

remiのリポジトリを追加

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uh ./remi-release-6.rpm

両方をデフォルトで有効化

sudo yum-config-manager --enable epel remi

yum-config-manager のコマンドがありません

yum-utilsをインストールしてから実行します。

yum -y install yum-utils

参考にしました

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2