To update your git to the leatest version (2.0.0) without rebuilding, you can use the Launchpad PPA repository (https://launchpad.net/). Lunchpad is a software collcaboration platform that provides:
- Bug tracking
- Code hosting using Bazaar
- Code reviews
- Ubuntu package building and hosting
- Translations
- Mailing lists
- Answer tracking and FAQs
- Specification tracking
Lunchpad has the most current stable version of Git for Ubuntu.
To add Lunchpad git ppa:
# git --version git version 1.7.9.5 # add-apt-repository ppa:git-core/ppa # apt-get update # apt-get install git # git --version git version 2.0.0
Of course you can build the newest version:
# Download git-core from https://code.google.com/p/git-core/downloads/list # tar -zxf git-1.9.0.tar.gz # cd git-1.9.0 # make prefix=/usr/local all # sudo make prefix=/usr/local install
No comments:
Post a Comment