Page 1 of 1

Git install

Posted: 05 Aug 2011, 17:43
by tiddler
When I install git I get an older version 1.4.
I think the latest version is 1.6.

Why am I getting an older version?
How do I get the latest version?

Thanks

Re: Git install

Posted: 05 Aug 2011, 17:58
by AzP
I guess this depends on what version of git Excito has decided to add in their package system. If their distribution (which is Debian based) is based off of an older version of git, you'll get the one from that version, unless they've updated it themselves.

Re: Git install

Posted: 05 Aug 2011, 22:16
by tiddler
What is the easy way to go about using the latest 1.6 version? The 1.4 version has a bug in it.

Re: Git install

Posted: 05 Aug 2011, 23:16
by Cheeseboy
When I install git I get an older version 1.4.
I think the latest version is 1.6.
Eeh, no:

Code: Select all

niklas@b3:~$ git --version
git version 1.7.2.5
What Bubba are you on?

Re: Git install

Posted: 06 Aug 2011, 02:48
by tiddler
Bubba 2

Re: Git install

Posted: 06 Aug 2011, 04:02
by Cheeseboy
OK, here is a reconstruction of what I did (I might have missed something, as I said, it is a reconstruction...):

Code: Select all

sudo apt get update
sudo apt-get upgrade
sudo apt-get install wget libcurl4-openssl-dev libexpat1-dev build-essential
mkdir git
cd git
wget http://kernel.org/pub/software/scm/git/git-1.7.6.tar.gz
gunzip *.gz
tar -vxf git-1.7.6.tar
sudo make configure
sudo make
sudo make install
niklas@bubba2:~/git/git-1.7.6$ ./git --version
git version 1.7.6

Re: Git install

Posted: 06 Aug 2011, 04:14
by tiddler
My current setup:

abc@bubba:~$ uname -a
Linux bubba 2.6.32.13 #1 Tue May 25 12:01:56 CEST 2010 ppc GNU/Linux
abc@bubba:~$ git --version
git version 1.4.4.4

Before I try what has been suggested, why doesn't apt-get get the lastest version?

Are Bubba2's not being kept current with the latest software?

Re: Git install

Posted: 06 Aug 2011, 04:18
by Cheeseboy
Are Bubba2's not being kept current with the latest software?
Nope, but Excito are working on it.
Search the Forum, and you will find a lot of aggro about it...

Re: Git install

Posted: 06 Aug 2011, 11:34
by AzP
It might be possible to just add an extra repo for it. Something that has been back-ported. But I guess Bubba's architecture must be added taken into account when you search for it.