Git Installation

走远了吗. 提交于 2019-12-01 10:03:54

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/
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!