Skip to content

Instantly share code, notes, and snippets.

@doloopwhile
Last active December 15, 2015 05:39
Show Gist options
  • Save doloopwhile/5210306 to your computer and use it in GitHub Desktop.
Save doloopwhile/5210306 to your computer and use it in GitHub Desktop.
最新版のGitをインストールする
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