File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ Computational repository to obtain a git v1.8.x package since the base CentOS
98
98
repositories only provide v1.7.1 which is not compatible with GitLab.
99
99
Although the PUIAS offers an RPM to install the repo, it requires the
100
100
other PUIAS repos as a dependency, so you'll have to add it manually.
101
+ Otherwise you can install git from source (instructions below).
101
102
102
103
Download PUIAS repo:
103
104
@@ -185,15 +186,19 @@ To remove this alias in the future:
185
186
186
187
### Install Git from Source (optional)
187
188
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:
189
194
190
195
yum -y remove git
191
196
192
- Install the pre-requisite files for Git compilation
197
+ Install the pre-requisite files for Git compilation:
193
198
194
199
yum install zlib-devel perl-CPAN gettext curl-devel expat-devel gettext-devel openssl-devel
195
200
196
- Download and extract Git 1.9.0
201
+ Download and extract it:
197
202
198
203
mkdir /tmp/git && cd /tmp/git
199
204
curl --progress https://git-core.googlecode.com/files/git-1.9.0.tar.gz | tar xz
You can’t perform that action at this time.
0 commit comments