Last active
December 15, 2015 05:39
-
-
Save doloopwhile/5210306 to your computer and use it in GitHub Desktop.
最新版のGitをインストールする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
wget --no-check-certificate https://github.com/git/git/archive/master.tar.gz | |
tar xvf master.tar.gz | |
# for CentOS | |
# sudo yum install -y gcc zlib zlib-devel curl curl-devel expat expat-devel gettext openssl-devel | |
# for Debian | |
# sudo aptitude install build-essential zlib1g zlib1g-dev curl libcurl4-openssl-dev libexpat1 libexpat1-dev gettext | |
cd git-master | |
NO_TCLTK=NoThanks make prefix=$HOME install | |
git --version | |
which git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment