On 03/02/13 23:43, Konstantin Khomoutov wrote:
On Sun, Feb 03, 2013 at 05:34:00PM +0000, Philip Oakley wrote:

I have recently got a spare laptop and installed Linux (I've been on
Windows since 3.1, and stuff before that) , and I'm trying to get my
head around some of the Git install issues on Linux. In particular
how to compile my own version of Git, separate from the installed

I've got Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:        12.04
Codename:       precise


Unless you *really* need the latest (i.e. tip of the "master") Git,
the best bet is to either stick with what's provided by the OS
or install a more fresh (usually the latest upstream release) using the
so-called backports.  This has been discussed here recently,
please see [1].

Hi, yes, I was really wanting to hack on the latest version. I've done a bit on the Msysgit version before, but to get at the Git core code it looks like working on Linux would be the best approach. So I'm trying to jump across the Windows -> Linux chasm now that I've go a second hand laptop (my son needed a new one for completing his engineering degree, so I repaired it and installed Ubuntu).

At the moment I'd got the compile OK, the path OK, with 'which -a git' reporting the two versions ( and, but 'git --version' reported the older one.

I just rechecked this morning and see that the shutdown/reboot has sorted out the execution priority, but I'm not sure why !

Work beckons.

Also, as you've probably inferred from the thread, if you want both the
"stock" installation of Git (provided by the OS) to coexist with your
manually-built version, it's best to configure the build in such a way
that `make install` installs everything under a single directory
(typically under your home directory) -- this eases maintenance as you
later can just `rm -rf` it.

1. http://www.mail-archive.com/git-users@googlegroups.com/msg04131.html

You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to