Skip to content

Instantly share code, notes, and snippets.

View banjocat's full-sized avatar

Jack Muratore banjocat

View GitHub Profile
@banjocat
banjocat / install-gcc48-linuxbrew-centos6.md
Created November 18, 2016 04:30 — forked from stephenturner/install-gcc48-linuxbrew-centos6.md
Installing gcc 4.8 and Linuxbrew on CentOS 6

Installing gcc 4.8 and Linuxbrew on CentOS 6

The GCC distributed with CentOS 6 is 4.4.7, which is pretty outdated. I'd like to use gcc 4.8+. Also, when trying to install Linuxbrew you run into a dependency loop where Homebrew's gcc depends on zlib, which depends on gcc. Here's how I solved the problem.

Note: Requires sudo privileges.

Resources: