Skip to content

Instantly share code, notes, and snippets.

@orrisroot
Last active April 18, 2023 08:44
Show Gist options
  • Save orrisroot/71d3e4688b3ee31a015f894cb6512bd7 to your computer and use it in GitHub Desktop.
Save orrisroot/71d3e4688b3ee31a015f894cb6512bd7 to your computer and use it in GitHub Desktop.
Install recent git rpm package (IUS version) on CentOS 7
#!/bin/sh
sudo yum install epel-release
sudo yum install https://repo.ius.io/ius-release-el7.rpm
sudo yum update
sudo yum install git236
@aktentasche
Copy link

https://centos7.iuscommunity.org/ius-release.rpm does not exists any more, i used

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install https://repo.ius.io/ius-release-el7.rpm
sudo yum update
sudo yum install git224

@orrisroot
Copy link
Author

Thanks, updated! The epel-release package is now contained in the extra packages, and the IUS repository’s latest git version seems to be 236.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment