Git installation


#1

I’m trying to install git on dreamhost. Currently my server is running 1.5.6.5 and the current version is 1.7.4.4. There is a page on how to do an install using gitosis as access control: http://wiki.dreamhost.com/Gitosis. But I am finding it quite hard to follow probably because my general lack of knowledge. The first step is to create new shell account for git and then to use that account to install git and gitosis. I am getting stuck on the git installation. The article gives the following commands as the isntall method:

cd
mkdir src
cd src
wget http://kernel.org/pub/software/scm/git/git-1.6.2.1.tar.gz
tar xzf git-1.6.2.1.tar.gz
cd git-1.6.2.1
./configure -prefix=$HOME NO_MMAP=1
make
make install

This all works, but then when I checked to see whether the version had been updated on dreamhost using git --version, nothing had changed. Any ideas what I’m missing here?

mari00


#2

Hi,

Please add $HOME/bin to your path.