Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@armika_n

yumのアップデート

More than 5 years have passed since last update.

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
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
armika_n
もう一度同じことをやるとき、スムーズに行えるようにするためのメモ

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?