在阿里云服务器上安装git

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

转载于:https://www.cnblogs.com/lvfish/p/7255790.html

你可能感兴趣的:(在阿里云服务器上安装git)