Git Installation

Git

Installation

Linux

https://mirrors.edge.kernel.org/pub/software/scm/git/
https://mirror.bjtu.edu.cn/kernel/software/scm/git/
http://mirrors.cqu.edu.cn/kernel/software/scm/git/
http://ftp.jaist.ac.jp/pub/Linux/kernel.org/software/scm/git/
sudo yum install dh-autoreconf curl-devel expat-devel gettext-devel \
  openssl-devel perl-devel zlib-devel autoconf gcc -y
curl -O https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.23.0.tar.gz
tar -zvxf git-2.23.0.tar.gz
cd git-2.23.0/
./configure --prefix=/usr/local
make configure
make all
sudo make install
cd ../
rm -rvf git-2.23.0/
sudo yum install dh-autoreconf curl-devel expat-devel gettext-devel \
  openssl-devel perl-devel zlib-devel autoconf gcc -y
curl -O http://ftp.jaist.ac.jp/pub/Linux/kernel.org/software/scm/git/git-2.23.0.tar.gz
tar -zvxf git-2.23.0.tar.gz
cd git-2.23.0/
./configure --prefix=/usr/local
make configure
make all
sudo make install
cd ../
rm -rvf git-2.23.0/
posted @ 2019-10-15 16:01  acmery  阅读(147)  评论(0编辑  收藏  举报