Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
git_install_from_source [2019/10/01 19:03] – created rpjdaygit_install_from_source [2019/10/02 20:36] (current) – [The end results] rpjday
Line 2: Line 2:
  
 How to clone, build and install Git as a non-root user. 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.1569956623.txt.gz
  • Last modified: 2019/10/01 19:03
  • by rpjday