Skip to content

Git from Source on Centos/RHEL 7

[code lang=”bash” title=”Update Cache”]

$ sudo yum update

[/code]

[code lang=”bash” title=”Install Dependencies”]

$ sudo yum groupinstall “Development Tools”
$ sudo yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel
[/code]

[code lang=”bash” title=”Download the git binaries”]

$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.16.2.tar.gz

[/code]

[code lang=”bash” title=”Extract the binaries”]
$ tar xf git-2.16.2.tar.gz
[/code]

[code lang=”bash” title=”Configure binaries”]
$ ./configure
[/code]

[code lang=”bash” title=”make binaries”]
$ make
$ make install
[/code]

[code lang=”bash” title=”Check Installation”]
$ git –version
[/code]

Shashi View All

-== Superman ==-

One thought on “Git from Source on Centos/RHEL 7 Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: