LoginSignup
48
40

More than 5 years have passed since last update.

gitをyumでインストール

Posted at

Linux Serverに入って色々設定するのをたまにしかやらないので覚書

AWSのEC2サーバにて、いちいちコンパイルとかやりたくないのでYumにてinstallしたい。

基本の流れ

1.wgetのインストール
2.リポジトリを追加
3.yumにてgitのインストール

1.wgetのインストール

sudo yum install wget

2.repository

yumのリポジトリ設定のディレクトリに移動し情報を取得する

$ cd /etc/yum.repos.d/
$ sudo wget http://wing-repo.net/wing/6/EL6.wing.repo

3.gitのインストール

sudo yum install git

簡単だけどメモ代わりに。

48
40
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
48
40