CentOS中安装git
生活随笔
收集整理的這篇文章主要介紹了
CentOS中安装git
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在CentOS中安裝git步驟如下:
(1)$ yum install curl curl-devel zlib-devel openssl-devel perl cpio expat-devel gettext-devel
(2)$ wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
(3)$ tar -xzvf git-latest.tar.gz
(4)$ cd git-{date}
(5)$ autoconf
(6)$ ./configure
(7)$ make
(8)$ make install
安裝完成后可以通過$ git --version來查看當前版本
轉載于:https://www.cnblogs.com/Jerryshome/archive/2011/12/07/2279821.html
總結
以上是生活随笔為你收集整理的CentOS中安装git的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux 创建指定大小空文件
- 下一篇: H.264中的量化过程