Installing Git 2.x on CentOS and Getting Passed Two Potential Problems

Problem scenario:  When installing Git on CentOS you get this error "http-push.c ... fatal error ... expat.h: No such file or directory"

Solution:yum install expat-devel

Problem scenario:  When running commands to install Git on CentOS, you use the "make" command.  But you get this error:  "git-compat.util.h:...: fatal error: openssl/ssl.h  No such file or directory."

Solution:yum install openssl-devel

Finally, for some good directions for installing Git 2.x on CentOS, see this link:

Leave a comment

Your email address will not be published. Required fields are marked *