Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install recent git rpm package (IUS version) on CentOS 7
#!/bin/sh
sudo yum install epel-release
sudo yum install https://centos7.iuscommunity.org/ius-release.rpm
sudo yum update
sudo yum install git224
@Jorgmassih

This comment has been minimized.

Copy link

@Jorgmassih Jorgmassih commented Aug 18, 2021

Great! but git2u is no longer a valid package name in the IUS repository. I'd suggest reading the official package list for updates.

@orrisroot

This comment has been minimized.

Copy link
Owner Author

@orrisroot orrisroot commented Aug 19, 2021

Thank you for the information. I have updated this script. Also, since git seems to have already released version 2.3X, I changed part of the file name from 'latest' to 'recent'.

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