how do I install git on OSX 10.6.8?

177 views
Skip to first unread message

7stud --

unread,
Sep 20, 2011, 3:50:34 AM9/20/11
to rubyonra...@googlegroups.com
git presents me with these choices:


git-1.7.6.1-i386-snow-leopard.dmg
git-1.7.6.1-x86_64-snow-leopard.dmg
git-1.7.6-i386-snow-leopard.dmg
git-1.7.6-x86_64-snow-leopard.dmg
git-1.7.5.4-i386-leopard.dmg
git-1.7.5.4-x86_64-leopard.dmg
git-1.7.5.3-i386-leopard.dmg


How do I know which one to download?

--
Posted via http://www.ruby-forum.com/.

Robert Walker

unread,
Sep 20, 2011, 9:02:36 AM9/20/11
to rubyonra...@googlegroups.com
7stud -- wrote in post #1022865:
> The git download page presents me with these choices:

>
>
> git-1.7.6.1-i386-snow-leopard.dmg
> git-1.7.6.1-x86_64-snow-leopard.dmg
> git-1.7.6-i386-snow-leopard.dmg
> git-1.7.6-x86_64-snow-leopard.dmg
> git-1.7.5.4-i386-leopard.dmg
> git-1.7.5.4-x86_64-leopard.dmg
> git-1.7.5.3-i386-leopard.dmg
>
>
> How do I know whether to download i386 or x86_64?

We can't tell without knowing what hardware you are running. If you Mac
has a 64 bit processor then install the x86_64 bit version. This is most
likely the case. For example: the only MacBook Pro that was not 64 bit
was the very first model. That one had a Core Duo processor as opposed
to the Core 2 Duo. All currently shipping Macs (AFAIK) are 64-bit.

Robert Walker

unread,
Sep 20, 2011, 9:06:37 AM9/20/11
to rubyonra...@googlegroups.com
Robert Walker wrote in post #1022903:

> We can't tell without knowing what hardware you are running. If you Mac
> has a 64 bit processor then install the x86_64 bit version. This is most
> likely the case. For example: the only MacBook Pro that was not 64 bit
> was the very first model. That one had a Core Duo processor as opposed
> to the Core 2 Duo. All currently shipping Macs (AFAIK) are 64-bit.

Oh! I also forgot to mention that there are other ways to install git on
the Mac. If you installed Xcode 4 in order to get the C compilers then
it installs a fairly recent version of git. So you may already have git
installed.

Git can also be installed via Homebrew, macport (yuck), or possibly by
other means.

Andrew

unread,
Sep 20, 2011, 9:13:41 AM9/20/11
to rubyonra...@googlegroups.com
Yeah, I would recommend using Homebrew to install Git. It was super easy for me.

brew install git

I didn't need to choose which version to download because it figured that out for me. Once you start using Homebrew, you'll want to start using it to install everything. =]

Russell Cole

unread,
Sep 20, 2011, 8:42:27 AM9/20/11
to rubyonra...@googlegroups.com
Is your Snow Leopard installation a 64-bit or 32-bit one? i386 refers to 32-bit and x86_64 is 64-bit.

You will most likely want to install git-1.7.6.1-i386-snow-leopard.dmg or git-1.7.6.1-x86_64-snow-leopard.dmg.

- Russell

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Kazimierz Kiełkowicz

unread,
Sep 20, 2011, 4:24:00 AM9/20/11
to Ruby on Rails: Talk
Guessing anyone will do just fine taking into consideration that Lion
is capable of running 64bit application as well as 32 bit application.
I would highly recommend installing git via package manager thou (brew
- http://mxcl.github.com/homebrew/)

7stud --

unread,
Sep 20, 2011, 2:11:56 PM9/20/11
to rubyonra...@googlegroups.com
Hardware Overview:

Model Name: MacBook
Model Identifier: MacBook2,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.16 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 2 GB
Bus Speed: 667 MHz
Boot ROM Version: MB21.00A5.B07
SMC Version (system): 1.17f0
Serial Number (system): W87250Z3YA8
Hardware UUID: 00000000-0000-1000-8000-001B631EC639
Sudden Motion Sensor:
State: Enabled

7stud --

unread,
Sep 20, 2011, 2:14:32 PM9/20/11
to rubyonra...@googlegroups.com
Robert Walker wrote in post #1022904:

> Robert Walker wrote in post #1022903:
>> We can't tell without knowing what hardware you are running. If you Mac
>> has a 64 bit processor then install the x86_64 bit version. This is most
>> likely the case. For example: the only MacBook Pro that was not 64 bit
>> was the very first model. That one had a Core Duo processor as opposed
>> to the Core 2 Duo. All currently shipping Macs (AFAIK) are 64-bit.
>
> Oh! I also forgot to mention that there are other ways to install git on
> the Mac. If you installed Xcode 4 in order to get the C compilers then
> it installs a fairly recent version of git. So you may already have git
> installed.
>

Xcode 4 isn't free, so I downloaded Xcode 3.2.6, and apparently it
doesn't install git.

Greg Reinacker

unread,
Sep 20, 2011, 2:19:15 PM9/20/11
to rubyonra...@googlegroups.com

Actually Xcode 4 is free, since the Lion release.

-GR


Walter Lee Davis

unread,
Sep 20, 2011, 2:21:04 PM9/20/11
to rubyonra...@googlegroups.com

On Sep 20, 2011, at 2:14 PM, 7stud -- wrote:

> Xcode 4 isn't free, so I downloaded Xcode 3.2.6, and apparently it
> doesn't install git.

I wonder why you would be seeing a price. I just looked in the Mac App Store, Xcode 4.1.1 is listed there as "free". I'm not a $99 paid-up developer, just a member of the free program, I wonder if that has anything to do with it. Could someone else check, someone who doesn't already have 4.x installed?

Walter

7stud --

unread,
Sep 20, 2011, 2:50:23 PM9/20/11
to rubyonra...@googlegroups.com
Does xcode 4 work on osx 10.6.8? If so, where can I download it?

7stud --

unread,
Sep 20, 2011, 2:52:36 PM9/20/11
to rubyonra...@googlegroups.com
Here:

http://developer.apple.com/support/xcode/

it says:

===
Paid members of the Mac and iOS Developer Programs have access to the
latest Xcode developer tools, SDKs, and pre-release software. Program
members can download Xcode 4.

Xcode 4.1 for Lion is available as a free download from the Mac App
Store. If you are registered as an Apple Developer, you can download
Xcode 3 for free. Both Xcode 3 and Xcode 4 include the most recent SDKs
for both Mac OS X and iOS.
===

Walter Lee Davis

unread,
Sep 20, 2011, 3:21:56 PM9/20/11
to rubyonra...@googlegroups.com

On Sep 20, 2011, at 2:52 PM, 7stud -- wrote:

maybe out of date?

>
> ===
> Paid members of the Mac and iOS Developer Programs have access to the
> latest Xcode developer tools, SDKs, and pre-release software. Program
> members can download Xcode 4.
>
> Xcode 4.1 for Lion is available as a free download from the Mac App
> Store. If you are registered as an Apple Developer, you can download
> Xcode 3 for free. Both Xcode 3 and Xcode 4 include the most recent SDKs
> for both Mac OS X and iOS.
> ===
>

I am running Xcode 4.1 on Mac OS X 10.6.8 as we speak. I don't recall paying for it. (I may have done, but if I did, it was a trivial amount.) I am not a $99 member of any Apple development program.

Walter

> --
> Posted via http://www.ruby-forum.com/.
>

Robert Walker

unread,
Sep 20, 2011, 3:22:57 PM9/20/11
to rubyonra...@googlegroups.com
7stud -- wrote in post #1022977:
> You must be an iOS or Mac Developer Program member to download Xcode 4
> or you can download Xcode 4.1 for Lion for free from the Mac App Store.
> ==

Yep. That's why I mentioned the other options. I'd use Homebrew myself
if I didn't already use Xcode 4.1 on Lion for my iOS development. Also,
if you're one that likes to run the cutting-edge newest version of Git
then you may want to use Homebrew. That will almost certainly be kept
somewhat more up-to-date than the version of Git provided by Xcode,
which is currently 1.7.3.4.

leoncio caminha

unread,
Sep 20, 2011, 3:33:12 PM9/20/11
to rubyonra...@googlegroups.com
its a apple pie dude

http://code.google.com/p/git-osx-installer/downloads/list?can=3

and choose a version of Mac OS

after just test using into terminal

git --version

2011/9/20 7stud -- <li...@ruby-forum.com>

7stud --

unread,
Sep 20, 2011, 6:07:56 PM9/20/11
to rubyonra...@googlegroups.com
leoncio caminha wrote in post #1022992:

> its a apple pie dude
>
> http://code.google.com/p/git-osx-installer/downloads/list?can=3
>
> and choose a version of Mac OS
>

Well...that's the problem.

7stud --

unread,
Sep 20, 2011, 6:11:23 PM9/20/11
to rubyonra...@googlegroups.com
Walter Davis wrote in post #1022969:

> On Sep 20, 2011, at 2:14 PM, 7stud -- wrote:
>
>> Xcode 4 isn't free, so I downloaded Xcode 3.2.6, and apparently it
>> doesn't install git.
>
> I wonder why you would be seeing a price. I just looked in the Mac App
> Store, Xcode 4.1.1 is listed there as "free".
>

It's my understanding that version is for Lion.

7stud --

unread,
Sep 20, 2011, 9:08:31 PM9/20/11
to rubyonra...@googlegroups.com
Anyway, can someone confirm what git I am supposed to install?

Hassan Schroeder

unread,
Sep 20, 2011, 9:59:25 PM9/20/11
to rubyonra...@googlegroups.com
On Tue, Sep 20, 2011 at 6:08 PM, 7stud -- <li...@ruby-forum.com> wrote:
> Anyway, can someone confirm what git I am supposed to install?

I would bet it's the x64 version. Try it -- if it doesn't work, it'll let you
know and you can delete it.

Alternatively, look at `About This Mac` -> Software -> Applications
and see if you have any that say something like

Dashboard:

Version: 1.7
Last Modified: 6/24/11 5:34 PM
Kind: Universal
64-Bit (Intel): Yes

If so, I would think it's probably a good sign you have 64-bit HW :-)

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

7stud --

unread,
Sep 20, 2011, 10:36:52 PM9/20/11
to rubyonra...@googlegroups.com
I downloaded:

git-1.7.6.1-x86_64-snow-leopard.dmg

and went through the install wizard, but the command:

$ git --version

returned:

git command not found

But after I Quit Terminal, and reopened Terminal, I got:


$ git --version
git version 1.7.6.1

Thanks.

Reply all
Reply to author
Forward
0 new messages