5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

さくらVPSにGit 1.8.4入れた時のメモ

Last updated at Posted at 2013-10-09

// ------ 1. yumでインストールしたgitのアンインストール。

yum erase perl-Git

// ------ 2. 最新版のGitのURLを確認

・ Gitの最新版
https://www.kernel.org/pub/software/scm/git/
-> リンクアドレスをコピー

-> 実行&解凍

wget https://www.kernel.org/pub/software/scm/git/git-1.8.4.tar.bz2
tar -jxf git-1.8.4.tar.bz2

// ------ 3. 解凍されたフォルダに移動してチェック

cd git-1.8.4
./configure --prefix=~/local/git-1.8.4 

// ------ 4. makeする(けどエラー吐く)

make

### 下記エラーの部分
SUBDIR git-gui
GITGUI_VERSION = 0.14.0
    * new locations or Tcl/Tk interpreter
    GEN git-gui
    INDEX lib/
    * tclsh failed; using unoptimized loading
    MSGFMT    po/de.msg make[1]: *** [po/de.msg] Error 127
make: *** [all] Error 2
### /FINISH

// ------ 5. 足りない実行ファイルはyumでインストール

sudo yum install perl-ExtUtils-MakeMaker

// ------ 6. make & make install

make
### コンパイル通った!

sudo make install
### インストールできた!

// ------ 7. パスを通す

vim /etc/profile

### 終端行に下記追加
export $PATH=/usr/local/bin

・ パスを通す
http://d.hatena.ne.jp/Akineko/20090825/1251187210

// ----------------- 参考URL

・ Gitの最新版
https://www.kernel.org/pub/software/scm/git/
・ configureの設定を変更してみる
http://www.atmarkit.co.jp/ait/articles/1107/01/news139.html
・ パスを通す
http://d.hatena.ne.jp/Akineko/20090825/1251187210
・ node.jsインストールメモ(CentOS 5.5)
http://manablog.eek.jp/linux/install_nodejs_to_centos/

// ----------------- 残る疑問
Markdown記法の番号付きリストがちゃんと表示されない。on Kobito

5
5
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?