Installing Git 188.8.131.52 on Red Hat Enterprise Linux
For my Red Hat Git install I opted for a simpler, no-documentation installation (for notes on installing the documentation see "Installing Git 184.108.40.206 on Mac OS X Tiger"). Note that although Red Hat Enterprise Linux already has a copy of the Expat library installed (in
/usr/lib/) I decided to download the latest version and install it under
# get source for Expat dependency from: # http://sourceforge.net/projects/expat/ wget http://surfnet.dl.sourceforge.net/sourceforge/expat/expat-2.0.1.tar.gz # extract tar xzvf expat-2.0.1.tar.gz cd expat-2.0.1 # build ./configure make make check sudo make install # grab the source from the Git homepage: # http://git.or.cz/ wget http://kernel.org/pub/software/scm/git/git-220.127.116.11.tar.bz2 # extract source tar xjvf git-18.104.22.168.tar.bz2 cd git-22.214.171.124 # build make prefix=/usr/local all # run tests make prefix=/usr/local test echo $? # install unset CDPATH sudo make prefix=/usr/local install
My first attempt at installing didn't work because of a period in my
CDPATH environment variable; to avoid such problems in the future I
unset the variable and removed the corresponding
export from my
CDATH should be set via normal assignment only and not exported).
Add a comment
Comments are now closed for this article.