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:19] – [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 installed under your home directory:+All installed under your selected directory:
  
   * bin/   * bin/
Line 37: Line 50:
  
 <code> <code>
-PATH=~/bin:$PATH+PATH=~/newgit/bin:$PATH
 </code> </code>
  
-and away you go. Did I miss anything?+and away you go. 
 + 
  • git_install_from_source.1569957591.txt.gz
  • Last modified: 2019/10/01 19:19
  • by rpjday