惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
爱范儿
爱范儿
D
Docker
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
D
DataBreaches.Net
月光博客
月光博客
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Visual Studio Blog
MyScale Blog
MyScale Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学

博客园 - kylinfish

sentry 9.1.1docker版onepremise过程记录 python内置函数all使用的坑 centos7.2自带的php5.4升级为5.6 ubuntu14.04 编译安装gcc-5.3.0 ubuntu启动器和dash里应用图标不正常 ubuntu14.04使用IceGridAdmin图形界面 在线手册收藏 VIM配置相关记录 virtualbox 错误解决记录 Docker资源收录 mysql workbench的PK,NN,UQ,BIN,UN,ZF,AI GIT非常见命令使用笔记 Google的Python代码格式化工具YAPF详解 在ubuntu上使用QQ的经历 Ubuntu 14.04 下安装Skype pip install lxml mysql-python error 情人节的宠物-测试小工具 API接口数据自检 环信REST API python SDK
ubuntu14.04编译安装Git2.7
kylinfish · 2015-12-14 · via 博客园 - kylinfish

  在开源中国看文章, 随意之间, 在软件资讯栏看到git 2.7的信息. 一直在使用在git 1.9.1, 心中突感, 这个git 2.7是个什么东西, 怎么git的版本更新有如此快么. 印象里, 老外牛逼们的东西, 不注重版本号的增增. 下载安装升级吧.

# 老套
make && make install

安装完毕, git --version ok, 显示2.7啦.

在项目里执行git pull upstream master 报fatal: Unable to find remote helper for 'https'.

apt-get install libcurl3 libcurl4-doc libcurl4-openssl-dev

稍后, man git 发现, manpages还是1.9.1, 安装不完全. 查看 INSTALL README文件. make doc html 失败,

wget http://jaist.dl.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz
tar xzvf assiidoc-8.6.9.tar.gz
cd assiidoc-8.6.9

./configure
make
sudo make install


wget https://git.gnome.org/browse/libxslt/snapshot/libxslt-1.1.28.tar.xz
tar xzvf libxslt-1.1.28.tar.xz
cd libxslt-1.1.28

sh autogen.sh
make
make install

# 报错少xmlto命令,百度搜索点击几个不满意后.
apt-get install xmlto

# 再回到git-2.7.0-rc0目录执行试试.
make html && make install html
make doc && make install doc

# 再补全INSTALL里提到的.
make install install-doc install-html

再git pull upstream master 和 man git已经正常.