I'm interested in installing Git on a CentOS Linux 5.4 host.
The installation instructions in the Pro Git book online offer two avenues: installing from source or using the host's package management system (in this case, yum).
However, neither is working for me.
Install from yum
When I try yum I get this result...
$ sudo yum install git-core Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.team-cymru.org * extras: centos.mirrors.tds.net * updates: ftp.osuosl.org Setting up Install Process No package git-core available. Nothing to do
(Why would yum not find such a commonplace package? Does it have to do with Kernel.org being down?)
Install from source
The other option is to download the source.
The location of the latest stable version of Git, v22.214.171.124, given on the main Git website is http://kernel.org/pub/software/scm/git/git-126.96.36.199.tar.bz2.
However that link leads to a page saying "down for maintenance". It appears that kernel.org has been down for a couple weeks due to an attack.