源码编译安装git

来源:互联网 发布:mac 程序编辑器 编辑:程序博客网 时间:2024/05/19 12:11
$ sudo apt-get install openssl libssl-dev libcurl4-openssl-dev libcurl3 libexpat-dev  gettext
$ git clone git://git.kernel.org/pub/scm/git/git.git

$ make prefix=/usr/local all        (编译)

$ sudo make prefix=/usr/local install       (安装)
0 0
原创粉丝点击