https://git-scm.com/book/zh/v1/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git
有yum的系统执行下列命令(已测试)
$ yum install curl-devel expat-devel gettext-devel \ openssl-devel zlib-devel
$ yum install git-core
有apt-get的系统执行下列命令(未测试)
$ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ libz-dev libssl-dev
$ apt-get install git
时间: 2024-10-13 13:30:22