Created
July 3, 2013 14:28
-
-
Save dergachev/5918390 to your computer and use it in GitHub Desktop.
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 | |
# | |
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
Note that this requires
dpkg-architecture
which can be installed bysudo apt-get install dpkg-dev
.