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:16] – [The end results] 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 33: Line 46:
     * gitk/     * gitk/
     * gitweb/     * gitweb/
 +
 +Finally:
 +
 +<code>
 +PATH=~/newgit/bin:$PATH
 +</code>
 +
 +and away you go.
 +
 +
  • git_install_from_source.1569957377.txt.gz
  • Last modified: 2019/10/01 19:16
  • by rpjday