Installing git on RHEL3

The hard way


I had to install git on a Redhat server, without the benefit of a package managers, local repository or anything like a sensible configuration. Because "security".

Install a recent version of lib curl

Why? because git calls cur_easy_strerror which was only introduced in libcurl 7.12.0. RHEL3 has only 7.10.6. If you get errors that say things like "undefined" or "unrecognised", especially in connection with curl_easy_strerror, that's the ticket.)

Used version 7.25.0

download untar ./configure make sudo make test curl-config --version

Note this installs the new curl into /usr/local/include/curl and /usr/local/lib

Install git

On redhat kerberos etc is installed funny so prefix uinstall with

export CPPFLAGS=-I/usr/kerberos/include make configure ./configure --prefix=/usr make all sudo make install

However, some editting of the makefile is required.


As there seems to be some issue when the perl script compilation starts

Install bash

(Why? RVM installer relies upon a recent version of it.)

Download configure make sudo make install

Install findutils

(Why? RVM scripts relies upon a recent version of it.)


IAH has changed it's proxy (or is no longer using one) so the environmental variable http_proxy can cause issues with some programs. This can be neutralised thus:

% unset http_proxy

If you get an odd CA certificate problem when cloning a git repo:

% git clone Cloning into 'hobo-protest'... error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing fatal: HTTP request failed

try this:

% env GIT_SSL_NO_VERIFY=true git clone


% export GIT_SSL_NO_VERIFY=true

Longer winded solution here: and