Skip to content

Instantly share code, notes, and snippets.

@bse666
Forked from dergachev/upgrade-git-precise64.sh
Created September 26, 2013 11:35
Show Gist options
  • Save bse666/6712939 to your computer and use it in GitHub Desktop.
Save bse666/6712939 to your computer and use it in GitHub Desktop.
0
#
# Installs git 1.7.10 on Ubuntu 12.04 (Precise) using packages from
# the upcoming 12.10 (Quantal) release. Should work for i386 and amd64.
#
# Adapted from http://pastebin.com/TXeMw1CY
sudo apt-get install dpkg-dev
HOST_ARCH=`dpkg-architecture -qDEB_HOST_ARCH_CPU`
wget http://mirrors.us.kernel.org/ubuntu/pool/main/g/git/git_1.7.10.4-1ubuntu1_${HOST_ARCH}.deb \
http://mirrors.us.kernel.org/ubuntu/pool/main/g/git/git-man_1.7.10.4-1ubuntu1_all.deb \
http://mirrors.us.kernel.org/ubuntu/pool/main/g/git/gitk_1.7.10.4-1ubuntu1_all.deb
sudo dpkg -i git-man_1.7.10.4-1ubuntu1_all.deb git_1.7.10.4-1ubuntu1_${HOST_ARCH}.deb gitk_1.7.10.4-1ubuntu1_all.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment