{"id":473,"date":"2018-03-12T12:55:17","date_gmt":"2018-03-12T12:55:17","guid":{"rendered":"http:\/\/shijuvarghese.com\/?p=473"},"modified":"2025-08-13T12:21:53","modified_gmt":"2025-08-13T12:21:53","slug":"git-installation-on-centos-7","status":"publish","type":"post","link":"http:\/\/shijuvarghese.com\/?p=473","title":{"rendered":"Git &#8211; Installation on CentOS 7"},"content":{"rendered":"<p>This is a continuation of my previous post about Git and GitHub<\/p>\n<p>Installation of Git on Linux, CentOS 7 server is pretty simple. This will be required especially if you are installing Jenkins on a Linux host where Jenkins needs to use Git as the Source Repository.<\/p>\n<p><strong>The steps are as follows:<\/strong><\/p>\n<ul>\n<li>yum groupinstall &#8220;Development Tools&#8221; -y<\/li>\n<li>yum install gcc autoconf curl-devel gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel -y<\/li>\n<li>wget https:\/\/www.kernel.org\/pub\/software\/scm\/git\/git-2.16.2.tar.xz<\/li>\n<li>tar -xvf git-2.16.2.tar.xz<\/li>\n<li>cd git-2.16.2<\/li>\n<li>make configure<\/li>\n<li>.\/configure &#8211;prefix=\/usr\/local<\/li>\n<li>make install<\/li>\n<\/ul>\n<p>Check the installation by using the command &#8220;<em><strong>git &#8211;version<\/strong><\/em>&#8221;<\/p>\n<p><a href=\"http:\/\/shijuvarghese.com\/?p=445\">Using Git\u00a0and Github<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>This is a continuation of my previous post about Git and GitHub Installation of Git on Linux, CentOS 7 server is pretty simple. This will <a class=\"mh-excerpt-more\" href=\"http:\/\/shijuvarghese.com\/?p=473\" title=\"Git &#8211; Installation on CentOS 7\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":1826,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,21,3],"tags":[],"class_list":["post-473","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-configuration-management","category-devops","category-linux"],"_links":{"self":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=473"}],"version-history":[{"count":6,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/473\/revisions"}],"predecessor-version":[{"id":1824,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/473\/revisions\/1824"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/media\/1826"}],"wp:attachment":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}