Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| git_install_from_source [2019/10/01 19:03] – created rpjday | git_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: | ||
| + | |||
| + | < | ||
| + | $ git clone https:// | ||
| + | </ | ||
| + | |||
| + | Configure for personal destination directory: | ||
| + | |||
| + | < | ||
| + | $ make configure | ||
| + | $ ./configure --prefix=/ | ||
| + | </ | ||
| + | |||
| + | Build and install: | ||
| + | |||
| + | < | ||
| + | $ make all install | ||
| + | $ make doc install-doc install-html | ||
| + | </ | ||
| + | |||
| + | ===== 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: | ||
| + | |||
| + | < | ||
| + | PATH=~/ | ||
| + | </ | ||
| + | |||
| + | and away you go. | ||
| + | |||
| + | |||