Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Overview ===== How to clone, build and install Git as a non-root user. ===== The recipe ===== Clone: <code> $ git clone https://github.com/git/git.git </code> Configure for personal destination directory: <code> $ make configure $ ./configure --prefix=/home/rpjday/newgit </code> Build and install: <code> $ make all install $ make doc install-doc install-html </code> ===== The end results ===== All installed under your selected directory: * bin/ * git * git-cvsserver * gitk * git-receive-pack * git-shell * git-upload-archive * git-upload-pack * libexec/ * git-core/ * ... LOTS here ... * share/ * git-core/ * templates/ * git-gui/ * gitk/ * gitweb/ Finally: <code> PATH=~/newgit/bin:$PATH </code> and away you go. git_install_from_source.txt Last modified: 2019/10/02 20:36by rpjday