Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:git [2016/12/23 03:58] eServices Greece |
software:git [2021/11/16 09:36] (current) eServices Greece |
||
---|---|---|---|
Line 7: | Line 7: | ||
=== Library Prerequisites === | === Library Prerequisites === | ||
<sxh> | <sxh> | ||
- | yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker | + | yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker |
+ | </ | ||
+ | |||
+ | ==== EXPORTS used to set versions ==== | ||
+ | You can change the values here to change compiled version. | ||
+ | < | ||
+ | GIT_VERSION=2.34.0 | ||
</ | </ | ||
Line 13: | Line 19: | ||
<sxh> | <sxh> | ||
cd /usr/local | cd /usr/local | ||
- | wget https:// | + | wget https:// |
- | tar zxfv git-2.11.0.tar.gz | + | tar zxfv git-${GIT_VERSION}.tar.gz |
- | cd git-2.11.0 | + | cd git-${GIT_VERSION} |
</ | </ | ||
Line 26: | Line 32: | ||
<sxh> | <sxh> | ||
make prefix=/ | make prefix=/ | ||
+ | </ | ||
+ | |||
+ | === symlink to default locations (Warning) === | ||
+ | <sxh> | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
</ | </ |