Comments on: How To Install Git on Fedora Linux https://tecadmin.net/install-git-on-fedora/ How to guide for System Administrator's and Developers Tue, 31 May 2022 10:35:22 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Guru https://tecadmin.net/install-git-on-fedora/#comment-31821 Fri, 02 Nov 2018 04:15:13 +0000 https://tecadmin.net/?p=5609#comment-31821 This has worked fine.

But does it changes the bash_profile in user’s home directory ?
what does command “source /etc/bashrc” exactly does. ?

Also, in case if we need to revert the installed git, then what the procedure for it ?.

]]>
By: Bharath https://tecadmin.net/install-git-on-fedora/#comment-5747 Mon, 16 Apr 2018 11:47:08 +0000 https://tecadmin.net/?p=5609#comment-5747 Thanks! Was stuck at 1.7.1 with yum update not helping. These steps got me to 2.17 in no time!

]]>
By: Wyllyam79 https://tecadmin.net/install-git-on-fedora/#comment-5165 Tue, 27 Mar 2018 20:59:50 +0000 https://tecadmin.net/?p=5609#comment-5165 install Rackspace repo: https://support.rackspace.com/how-to/install-epel-and-additional-repositories-on-centos-and-red-hat/

and then:
sudo yum install yum-plugin-replace
sudo yum replace git –replace-with git2u

]]>
By: Aleksandar https://tecadmin.net/install-git-on-fedora/#comment-5045 Tue, 27 Feb 2018 07:49:11 +0000 https://tecadmin.net/?p=5609#comment-5045 Thanks man, this really helped me on CentOS 6.9. I was struggling to update it from 1.7.1 to some newer version, and this article helps me to do it in few minutes!

]]>
By: Chef https://tecadmin.net/install-git-on-fedora/#comment-2593 Mon, 02 May 2016 23:28:21 +0000 https://tecadmin.net/?p=5609#comment-2593 Can you include the full command line sequence for doing this, assuming you’re on a system that does not have those repositories?

]]>
By: Petr https://tecadmin.net/install-git-on-fedora/#comment-1016 Tue, 15 Mar 2016 12:21:45 +0000 https://tecadmin.net/?p=5609#comment-1016 Hi,

I was looking for a way how to bring latest Git to REHL 6 and there’s another, much easier way. Use Rackspace’s IUS repositories, they have rpms for latest Git version.

Regards,
P.

]]>
By: Jim P. https://tecadmin.net/install-git-on-fedora/#comment-1015 Sun, 14 Feb 2016 00:58:03 +0000 https://tecadmin.net/?p=5609#comment-1015 Used this to install Git 2.7.1 on HostGator VPS running CentOS 6.5. Worked like a charm. Thank you so much.

]]>
By: Gunita https://tecadmin.net/install-git-on-fedora/#comment-1014 Tue, 05 Jan 2016 18:57:10 +0000 https://tecadmin.net/?p=5609#comment-1014 I did the installation, everything went successfully. But now when I do git –version, it shows version 1.7.1 instead of version 2.0.5

]]>
By: Josh Sklar https://tecadmin.net/install-git-on-fedora/#comment-1013 Wed, 14 Oct 2015 23:53:26 +0000 https://tecadmin.net/?p=5609#comment-1013 Not having the zlib.h file most likely means that you didn’t install the zlib-devel package. Try doing that yum install zlib-devel step again.

]]>
By: Srinivasan AC https://tecadmin.net/install-git-on-fedora/#comment-1012 Mon, 12 Oct 2015 08:49:15 +0000 https://tecadmin.net/?p=5609#comment-1012 I am getting below error… Can you help out.. I am trying this on RHEL7

[root@CTSC00541480801 git-2.5.0]# make prefix=/opt/git all
CC credential-store.o
In file included from credential-store.c:1:0:
cache.h:21:18: fatal error: zlib.h: No such file or directory
#include
^
compilation terminated.
make: *** [credential-store.o] Error 1
[root@CTSC00541480801 git-2.5.0]

]]>