Skip to content

Instantly share code, notes, and snippets.

View matthewriley's full-sized avatar
👨‍💻
Using Technology

Matt Riley matthewriley

👨‍💻
Using Technology
  • Phoenix, AZ
View GitHub Profile
@matthewriley
matthewriley / Git2171onRHEL7x.md
Created June 13, 2018 20:30
Install Git 2.17.1 from source on RHEL 7.x

Install Git 2.17.1 from source on RHEL 7.x

These are the Terminal commands I recently used (July 2017) to install Git 2.17.1 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
# First remove old system git
yum erase git
@matthewriley
matthewriley / Git2230onRHEL7x.md
Created September 3, 2019 20:29
Install Git 2.23.0 from source on RHEL 7.x

Install Git 2.23.0 from source on RHEL 7.x

These are the Terminal commands I recently used (September 2019) to install Git 2.23.0 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
# First remove old system git
yum erase git
@matthewriley
matthewriley / Git290onRHEL7x.md
Created June 15, 2016 18:59
Install Git 2.9.0 from source on RHEL 7.x

Install Git 2.9.0 from source on RHEL 7.x

These are the Terminal commands I recently used (June 2016) to install Git 2.9.0 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
yum install autoconf cpio curl-devel expat-devel gcc gettext-devel make openssl-devel perl-ExtUtils-MakeMaker zlib-devel
wget -O v2.9.0.tar.gz https://github.com/git/git/archive/v2.9.0.tar.gz
@matthewriley
matthewriley / gist:4694850
Last active October 24, 2018 01:48
Install Git 1.8.1.2 from source on CentOS 6.3

Install Git 1.8.1.2 from source on CentOS 6.3

These are the Terminal commands I recently used (Feb 2013) to install Git 1.8.1.2 from source on CentOS 6.3. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Eventually yum install git will include 1.8.x but until then I hope this helps.

cd ~/Downloads
su
yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel curl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
@matthewriley
matthewriley / Git1841onCentOS64.md
Last active August 8, 2018 18:28
Install Git 1.8.4.1 from source on CentOS 6.4

Install Git 1.8.4.1 from source on CentOS 6.4

These are the Terminal commands I recently used (October 2013) to install Git 1.8.4.1 from source on CentOS 6.4. I ran this in a VirtualBox VM after a fresh install from the ISO.

If you are not running in a VirtualBox VM, you will need run the following first.

su
yum -y install gcc make
exit
@matthewriley
matthewriley / Git2130onRHEL7x.md
Created May 12, 2017 03:08
Install Git 2.13.0 from source on RHEL 7.x

Install Git 2.13.0 from source on RHEL 7.x

These are the Terminal commands I recently used (June 2016) to install Git 2.13.0 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
yum install autoconf cpio curl-devel expat-devel gcc gettext-devel make openssl-devel perl-ExtUtils-MakeMaker zlib-devel
wget -O v2.13.0.tar.gz https://github.com/git/git/archive/v2.13.0.tar.gz

Install Git 2.13.3 from source on RHEL 7.x

These are the Terminal commands I recently used (July 2017) to install Git 2.13.3 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
# First remove old system git
yum erase git
@matthewriley
matthewriley / Git1852onCentOS65.md
Last active July 19, 2016 10:24
Install Git 1.8.5.2 from source on CentOS 6.5

Install Git 1.8.5.2 from source on CentOS 6.5

These are the Terminal commands I recently used (January 2014) to install Git 1.8.5.2 from source on CentOS 6.5. I ran this in a VirtualBox VM after a fresh install from the ISO.

If you are not running in a VirtualBox VM, you will need to run the following first:

su
yum -y install gcc make
exit
@matthewriley
matthewriley / Git282onRHEL7x.md
Created May 17, 2016 19:41
Install Git 2.8.2 from source on RHEL 7.x

Install Git 2.8.2 from source on RHEL 7.x

These are the Terminal commands I recently used (May 2016) to install Git 2.8.2 from source on RHEL 7.x. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
yum install autoconf cpio expat-devel gcc gettext-devel make openssl-devel perl-ExtUtils-MakeMaker zlib-devel
wget -O v2.8.2.tar.gz https://github.com/git/git/archive/v2.8.2.tar.gz
@matthewriley
matthewriley / Git1852onCentOS510.md
Last active January 2, 2016 15:19
Install Git 1.8.5.2 from source on CentOS 5.10

Install Git 1.8.5.2 from source on CentOS 5.10

These are the Terminal commands I recently used (January 2014) to install Git 1.8.5.2 from source on CentOS 5.10. I ran this in a VirtualBox VM after a fresh install from the ISO.

You mileage will vary as the yum packages are updated over time. The yum install line below should include all the dependencies, at least it did for me. Depending upon how often you use yum update you may need to run yum --enablerepo=base clean metadata as su before you run the following commands.

cd ~/Downloads
su
yum -y install gcc make autoconf zlib-devel openssl-devel cpio expat-devel gettext-devel