TOTD: Installing Git on Mac OS X

Posted by Ron Valente Mon, 14 Apr 2008 16:42:00 GMT

Introduction

Git has become quite the popular version control system in the rails community. That being said I am announcing that I will stop using ports for my tutorials and install everything from source. There are advantages and disadvantages to this and the main reason is that I am sick of waiting for ports that are outdated.

Requirements

This install is quite easy. All the dependencies required ship with Mac OS X Leopard. That being said lets get started. For this to install successfully you must have the following installed on your computer:

  • Apple Developer Tools

Installation

Download the latest package from Git At the time of writing this tutorial the current version is Git 1.5.5.

Below are the directions to completely install the Git version control system.

cd /usr/local/src
curl -O http://kernel.org/pub/software/scm/git/git-1.5.5.tar.bz2
tar -xjf git-1.5.5.tar.bz2
cd git-1.5.5
./configure --prefix=/usr/local
make
sudo make install
Trackbacks

Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=totd-installing-git-on-mac-os-x&day=14&month=04&year=2008

Comments

Leave a comment

Comments