ubuntu10.04 LTS升级git 版本
来源:互联网 发布:千牛直播和淘宝直播 编辑:程序博客网 时间:2024/05/19 13:25
1. 源码编译升级git版本
卸载源安装git版本
$ apt-get remove git git-core
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev libssl-dev asciidoc docbook2x
$ git clone git://git.kernel.org/pub/scm/git/git.git
$ cd git
$ git checkout v1.8.2.2
$ echo v1.8.2.2 > version
$ make prefix=/usr all doc info
$ sudo make prefix=/usr install
$ which git
/usr/bin/git
$ git --version
git version 1.8.2.2
2. ubuntu下apt-get 升级git
使用git提交github工程的时候,
报错:
Error: The requested URL returned error: 403 while accessing
# fatal: HTTP request failed
查看官方的指南:
https://help.github.com/articles/https-cloning-errors
结果发现git版本为1.7.4,(git --version)而官方提示必须是1.7.10及以后版本
升级
增加ppa
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
如果本地已经安装过Git,可以使用升级命令:
sudo apt-get dist-upgrade
- ubuntu10.04 LTS升级git 版本
- ubuntu10.04 LTS升级git 版本
- Ubuntu12.04升级git版本
- Ubuntu14.04LTS下升级gcc到gcc-6版本
- ubuntu10.04LTS下安装mysql+tomcat(经验证修正版本)
- 手把手教你安装linux操作系统(操作系统发行版本为ubuntu10.04LTS)
- Ubuntu10.04升级Wine
- Ubuntu10.04升级10.10
- ubuntu10.04升级内核
- Ubuntu10.04升级glibc
- VMware下安装Ubuntu10.04 LTS
- Ubuntu10.04 LTS 下编译Android
- ubuntu10.04LTS 64bit 安装 kscope
- ubuntu10.04 LTS 下编译android源码
- VMWare8.0安装 Linux Ubuntu10.04LTS
- Ubuntu10.04 LTS 状态栏 丢失 找回
- ubuntu10.04Lts解决vim安装问题
- ubuntu10.04LTS登陆桌面无法进入
- SQL Server 2005不能导入数据(无法创建SSIS 运行时对象)
- 创业者如何在Demo演讲上打动投资人?
- 工作: 理解现实的复杂性
- 典型的ELF可重定位目标文件
- iOS:NSCoder的方法decodePropertyList
- ubuntu10.04 LTS升级git 版本
- iOS:NSCoder的方法decodePropertyListForKey:
- 总结--Linux命令篇(想点写点)
- iOS:NSCoder的方法decodeRect
- 伪指令
- JS自定义 Map 键值对对象
- HDU--1863--畅通工程--并查集
- 实数范围内的求模(求余)运算:负数求余究竟怎么求
- 电源的区别