LoginSignup
0
0

More than 5 years have passed since last update.

yumのアップデート

Last updated at Posted at 2015-09-16

CentOS6.4でgnuplotを入れたかったが

"Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again"と返された

こちらのサイトを参考にした
http://d.hatena.ne.jp/C_6B4A2B/20130427/1367073209

□superuserになる
su -
□yumのリポジトリの設定を変える
vi /etc/yum.repos.d/epel.repo

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

※編集の仕方
insertキーで編集モードにする→basearchのコメントアウトの位置を変更→escapeキー→:wqを入力してセーブして終了

□yumのアップデート

yum update と入力

あとは指示通りに従っていけばOK。

とりあえず、とりあえずこれでgnuplotやaptなどがインストールできるようになった。

0
0
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
0
0