• You are here:
  • »
  • git

git

This is an old revision of the document!


Difficulty
Easy

git

Goal

Compile the latest git, this guide assumes you are using the eSG provided installation.

Steps

Library Prerequisites

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.23.0

Fetch git

cd /usr/local
wget https://www.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz
tar zxfv git-${GIT_VERSION}.tar.gz
cd git-${GIT_VERSION}

Build git

make prefix=/usr/local/git all

Install git

make prefix=/usr/local/git install

/home/www/sites/esgr.in/wiki/data/attic/software/git.1570298597.txt.gz · Last modified: 2019/10/05 18:03 by eServices Greece