How to install git 1.8 rpm

Source: Internet
Author: User
Tags gpg yum repolist

The GIT version will have a 401 pull failure error for private projects before 1.8, and can only be resolved by upgrading the GIT version

It appears git18 is no longer available from Rpmforge, at least in CentOS 6.6. Luckily, I came across the following instructions from a GitLab CentOS recipe:

    1. Download Puias Repo:

wget -O /etc/yum.repos.d/PUIAS_6_computational.repo https://gitlab.com/gitlab-org/gitlab-recipes/raw/master/install/centos/PUIAS_6_computational.repo

    1. Next Download and install the GPG key:

wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-puias http://springdale.math.ias.edu/data/puias/6/x86_64/os/RPM-GPG-KEY-puias && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-puias

    1. Verify The key was installed successfully:

rpm -qa gpg*

    1. Verify that the EPEL and Puias computational repositories is enabled:

yum repolist

    1. Install Git 1.8

yum --enablerepo=PUIAS_6_computational install git

Note:i am not quite happy with this solution, as it is only netted me Git 1.8.3 However I does not has the time to find a bet ter solution right now.

How to install git 1.8 rpm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.