Last active
December 30, 2017 04:40
-
-
Save yyano/4e2afc4788660130c5b74503ed202ad8 to your computer and use it in GitHub Desktop.
AWS EC2でgitをsorceをダウンロードして、makeする
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
sudo yum update | |
sudo yum groupinstall "Development Tools" | |
sudo yum install zlib-devel.x86_64 | |
sudo yum install perl-ExtUtils-MakeMaker curl-devel expat-devel openssl-devel | |
wget https://www.kernel.org/pub/software/scm/git/git-2.15.1.tar.xz | |
tar Jxfv git-2.15.1.tar.xz | |
cd git-2.15.1 | |
./configure --prefix=/tmp --with-openssl --with-expat --with-curl | |
make all | |
rm -rf /tmp/* | |
make install | |
cd | |
zip -r git-2.15.1.zip /tmp/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment