git_install_from_source

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_install_from_source [2019/10/01 19:13] rpjdaygit_install_from_source [2019/10/02 20:36] (current) – [The end results] rpjday
Line 4: Line 4:
  
 ===== The recipe ===== ===== The recipe =====
 +
 +Clone:
  
 <code> <code>
 $ git clone https://github.com/git/git.git $ git clone https://github.com/git/git.git
-... +</code> 
-$ make + 
-$ make install+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> </code>
  
 ===== The end results ===== ===== The end results =====
  
-All under your home directory:+All installed under your selected directory:
  
   * bin/   * bin/
Line 24: Line 37:
     * git-upload-archive     * git-upload-archive
     * git-upload-pack     * git-upload-pack
-  * libexec/git-core/+  * libexec/ 
 +    * git-core/ 
 +      * ... LOTS here ...
   * share/   * share/
     * git-core/     * git-core/
       * templates/       * templates/
 +    * git-gui/
 +    * gitk/
 +    * gitweb/
 +
 +Finally:
 +
 +<code>
 +PATH=~/newgit/bin:$PATH
 +</code>
 +
 +and away you go.
 +
 +
  • git_install_from_source.1569957227.txt.gz
  • Last modified: 2019/10/01 19:13
  • by rpjday