Manual install of newest Git on older Linux distros

By neokrates, written on July 13, 2010

howto

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • Who manages CI environment in your enterprise?

    • We don't use CI (92%, 11 Votes)
    • Dedicated person per team, teams decide on their own (8%, 1 Votes)
    • Everyone who can (0%, 0 Votes)
    • Employee, single Release or Config Manager (0%, 0 Votes)
    • Contractor, single Release or Config Manager (0%, 0 Votes)
    • Team, Release or Config Management (0%, 0 Votes)
    • External partner manages our CI (0%, 0 Votes)
    • Different answer (0%, 0 Votes)

    Total Voters: 12

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

git

Newer Git is not a part of older distros. It is the case with Ubuntu and Debian (etch, lenny). Fortunately, manual Git installation seems simple.
I had no extra packages to install, no weird dependencies. Hope you will have the same luck. Here is what you do.

Works for

[v] Ubuntu 9.10
[v] Debian Lenny and Etch
[v] Git 1.7.1

Should also wok for

[v] many other Linux distros
[v] Other Git versions

1

Download and install

Git

 
[star] Go to http://packages.debian.org/sid/git
[star] Check your Linux system type. Amd or intel, 32 / 64 bit etc. Depending on type, choose your architecture in the Download git section
[star] You have your .deb package. Install it with dpkg -i

Example for i386 Linux type and Git 1.7.1:

wget http://ftp.us.debian.org/debian/pool/main/g/git/git_1.7.1-1_i386.deb
dpkg -i git_1.7.1-1_i386.deb

Git core

 
Current version is here http://packages.debian.org/sid/git.

Example for Git 1.7.1:

wget http://ftp.us.debian.org/debian/pool/main/g/git/git-core_1.7.1-1_all.deb
dpkg -i git-core_1.7.1-1_all.deb

2

Validate

Following should work now:

# git --version
git version 1.7.1

 

That’s it, have fun! ;)

 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'

LEARN MORE (amazon bookstore)

TAGS

RELATED
Pages
Posts
    nope :(

SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

INCOMING SEARCH TERMS


One Response to “Manual install of newest Git on older Linux distros”

Leave a Reply