Installing g++ 5 on Amazon Linux -


i'm trying install g++ 5.x on ec2 instance running amazon linux; in amazon's central repository latest version 4.8.3. configuration can make allow yum find newer gcc-c++ package?

console log

probably "amazon linux ami release 2016.03", when have gcc-4.8.3 . os close centos 7.2 / rhel 7.

please try : # yum install centos-release-scl

if ok, can : # yum install devtoolset-4-gcc-c++ ... , g++, gcc version 5.2.1 .

enabling "5.2.1" : $ scl enable devtoolset-4 bash . aware setting valid current terminal session only.

if issues, can supply link 4 packages required g++, gcc.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -