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
大功告成,很简单吧,如果有错,欢迎留言!

相关推荐
-
PHP8种变量类型的详细讲解2025-02-22 00:32:24
-
php+apache 和 php+nginx的区别2025-02-22 00:21:27
-
PHP:与workerman结合实现定时任务2025-02-22 00:15:57
-
Nginx的Rewrite规则与实例2025-02-22 00:15:39
-
MySql中身份证字段的简单脱敏介绍2025-02-22 00:15:36