Skip to content

Instantly share code, notes, and snippets.

@AddoSolutions
Created March 21, 2014 19:26
Show Gist options
  • Save AddoSolutions/9694163 to your computer and use it in GitHub Desktop.
Save AddoSolutions/9694163 to your computer and use it in GitHub Desktop.
Install Git on cPanel
cd ~
wget http://git-core.googlecode.com/files/git-1.9.0.tar.gz
tar zxvf git-1.9.0
cd git-1.9.0
./configure --prefix=/home/$USER
make
make install
echo 'PATH=$PATH:$HOME/bin' >> $HOME/.bashrc
source $HOME/.bashrc
cd ..
rm -rf ~/git-1.9.0 ~/git-1.9.0.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment