Ubuntu14上安装git2.0以上版本
Ubuntu14默认的git版本是1.9.1,有些情况我们需要使用git 2.0以上的版本,那就需要用到第三方的库。Launchpad PPA Repositories是很有用的非ubuntu官方的第三方个人资源库,可以很方便地安装第三方软件。
那么就可以按照以下操作步骤进行:
1. apt-get update
2. apt-get install software-properties-common
3. add-apt-repository ppa:git-core/ppa
4. apt-get update
5. apt-get install git
6. 查看安装好的git版本
git --version
大功告成,很简单吧,如果有错,欢迎留言!
