**NOTE** You will need to have compiler access on your shared hosting account in order for the instructions below to work. You can request your host enable this, or pass these instructions along to them and request they compile git for you.
From SSH:
cd wget http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz tar zxvf git-1.7.9.2.tar.gz cd git-1.7.9.2 ./configure --prefix=/home/$USER make make install echo 'PATH=$PATH:$HOME/bin' >> $HOME/.bashrc source $HOME/.bashrc |
If you get the error “bash: /usr/bin/wget: Permission denied” you can try downloading the git source with the command
curl -O http://git-core.googlecode.com/files/git-1.7.9.2.tar.gz |
Thanks, worked like a charm. Some other install guides didn’t think to set the path intelligently.
Thanks for this! It saved me a lot of headache.
worked perfectly. thanks!
Wow!!! Guess I don’t know enough about linux to figure this shit out, great work it works perfect so far. Now it is just for setting it up with github…
Thanks for sharing!
I had an error when I run ./configure –prefix=/home/$USER
Like this: ./configure.lineno: line 428: expr: command not found
So, how can I continuos?