How To Install Git On Hostmonster

Wednesday, March 3, 2010


tar zxvf git-
cd git-
./configure --prefix=$HOME/git
make && make install

you can remove the source, but I chose to move it into a source folder

cd ~/git
mv git- src

now add this line to your .bashrc file:

vim .bashrc
export PATH=$HOME/git/bin/:$HOME/git/lib/libexec/git-core/:$PATH

to check your install and reload bash:

source ~/.bashrc
git --version

This entry was tagged git, hostmonster and Linux

comments powered by Disqus

© 2009-2013 All rights reserved. Powered by Pyramid

go to Top