<Github> gitのソースからコンパイル。
git
が入ってないマシーンがあった。
ソースsource
を拾ってきてコンパイルcompile
した。
ソースはここにあるらしい。
https://www.kernel.org/pub/software/scm/git/
>wget https://www.kernel.org/pub/software/scm/git/git-2.7.0.tar.gz >tar xzfv git-2.7.0.tar.gz >cd git-2.7.0 >make configure >./configure --prefix=$HOME/local >make all >make install
完成。
>$HOME/bin/git --version git version 2.7.0
ナイス。
ここで勉強。
アンインストール uninstall
の場合、、、めんどくさい。。。
次のエラーが出た場合。。。
git-remoto-https: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory
最新のgit
にする。
git-2.18.0
なら大丈夫。
1.8.2.1
や、2.16.2
はだめだったよーん。