January 4, 2021
Estimated Post Reading Time ~

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]


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.