How to install Git on a cpanel server (CentOS)

Git is an open source package for managing version control. The installation of Git on a server must required some dependencies. First we need to install all dependencies for installing Git smoothly.

Installing dependencies:

[root@server ]# yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel

Git installation:
Change the directory to ‘/usr/local/src’ and download the tar file and install it. Do the following steps for doing the same.

[root@server ]# wget
[root@server ]# tar xvzf git-latest.tar.gz
[root@server ]# cd git-date
[root@server ]# autoconf
[root@server ]# ./configure –with-curl=/usr/local
[root@server ]# make
[root@server ]# make install


Arunlal Ashok

Linux Cloud Infrastructure / DevOps Engineer. I'm dealing Linux servers since 2012. I started this blog to share and discuss my ideas.

Always happy for an open discussion! Write to arun (@) crybit (dot) com. Check about me for more details. About this blog and our strong members, check The team

1 Response

  1. December 30, 2013

    […] links: How to install Git on a cpanel server (CentOS) How to install php-pear mail on CentOS or RHEL How to install IonCube loader on server iftop […]

Leave a Reply

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