Skip to content

Commit e76bd4a

Browse files
committed
Changes to git info
1 parent 357424c commit e76bd4a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

install/centos/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ Computational repository to obtain a git v1.8.x package since the base CentOS
9898
repositories only provide v1.7.1 which is not compatible with GitLab.
9999
Although the PUIAS offers an RPM to install the repo, it requires the
100100
other PUIAS repos as a dependency, so you'll have to add it manually.
101+
Otherwise you can install git from source (instructions below).
101102

102103
Download PUIAS repo:
103104

@@ -185,15 +186,19 @@ To remove this alias in the future:
185186

186187
### Install Git from Source (optional)
187188

188-
Remove the system Git
189+
Make sure Git is version 1.7.10 or higher, for example 1.7.12 or 1.8.4
190+
191+
git --version
192+
193+
If not install it from source. Remove the system Git:
189194

190195
yum -y remove git
191196

192-
Install the pre-requisite files for Git compilation
197+
Install the pre-requisite files for Git compilation:
193198

194199
yum install zlib-devel perl-CPAN gettext curl-devel expat-devel gettext-devel openssl-devel
195200

196-
Download and extract Git 1.9.0
201+
Download and extract it:
197202

198203
mkdir /tmp/git && cd /tmp/git
199204
curl --progress https://git-core.googlecode.com/files/git-1.9.0.tar.gz | tar xz

0 commit comments

Comments
 (0)