New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Git install

Got problems with your B2 or B3? Share and get helped!
Post Reply
tiddler
Posts: 32
Joined: 07 Apr 2009, 03:23

Git install

Post 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
AzP
Posts: 60
Joined: 04 Mar 2011, 08:09

Re: Git install

Post 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.
tiddler
Posts: 32
Joined: 07 Apr 2009, 03:23

Re: Git install

Post 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.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Git install

Post 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?
tiddler
Posts: 32
Joined: 07 Apr 2009, 03:23

Re: Git install

Post by tiddler »

Bubba 2
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Git install

Post 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
tiddler
Posts: 32
Joined: 07 Apr 2009, 03:23

Re: Git install

Post 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?
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Git install

Post 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...
AzP
Posts: 60
Joined: 04 Mar 2011, 08:09

Re: Git install

Post 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.
Post Reply