Update gcc to 6.4.0 in centos

This article is automatically synchronized by Tencent Cloud + Community, the original address is http://blogtest.stackoverflow.club/update-gcc-in-centos/

Gcc in the museum

When I needed to compile a github project, I was suddenly prompted that gcc does not support c++11 features. Then I looked at the gcc version and it turned out to be 4.8.5? Upgrade decisively, but there seems to be no updated version in the software source, so I can only download the source code and compile it myself.

Compile from source#

The detailed compilation process can be found in 1. According to this process, it succeeded! So there is not much to talk about, just send out four of the packages, these four packages are indeed not easy to collect. See 2

Reference:

  1. https://www.linuxidc.com/Linux/2017-10/147256.htm
  2. Link: https://pan.baidu.com/s/1DCaAnYRvVOVg2WKQvbzbEQ Password: es37

Recommended Posts

Update gcc to 6.4.0 in centos
How to Update to gcc4.9.x on Centos7
How to install PHP7.4 in CentOS
How to install GCC on CentOS 8
How to install Android SDK in centos7
CentOS 6/7 update curl
How to install GCC compiler on CentOS 7
Configure centos container to support ssh in Docker
How to install php7.3 in centos8 custom directory
Use command to clear specific hostname in CentOS7
Centos 6.4 python 2.6 upgrade to 2.7
Install MySQL5.7 in centos7
Centos 6.4 python 2.6 upgrade to 2.7
CentOS6.5 upgrade kernel to 3.10.28
Install redis5.0 in CentOS7
Build Hadoop in CentOS
KVM virtualization in centos
CentOS 5 to CentOS 5.8 YUM source
Centos7 uses Ansible to install Chinese fonts in batches
How to create a CentOS virtual machine in VMware
How to create a CentOS virtual machine in VMware
Centos default python2.6 upgrade to
CentOS upgrade python2 to pyth
Build zabbix monitoring zabbix4.2 in CentOS7.6
Centos7.6 method to install Tomcat-8.5.39
Build zabbix monitoring zabbix4.2 in CentOS7.6
Centos install high version GCC
Debug Kernel Panic in Centos
How to configure NTP to join the NTP pool project in CentOS
How to support TL-WDN7200H wireless USB network card in CentOS8?
centos6.5: gcc upgrade (5.2.0) process record
How to set or modify the time zone in CentOS 8
Centos network settings in virtualbox
Detailed steps to install and configure k8s cluster in centos 7
Centos8 uses Apache httpd2.4.37 to install web server steps in detail
How to install Helm in Ubuntu
How to install jdk1.8 on centOS7
How to install MySQL on CentOS 8
How to upgrade CentOS7 to CentOS8 (detailed steps)
Install JDK8 in rpm on CentOS7
How to use hanlp in ubuntu
How to install Memcached on CentOS 8
How to install R on CentOS 8
How to install FFmpeg on CentOS 8
How to install Virtualbox on CentOS 8
CentOS 6/7 configure sendEmail to send mail
How to install TensorFlow on CentOS 8
[Introduction to redis] Install redis under Centos
Minimal install JDK 1.8 tutorial in CentOS 7
How to install TeamViewer on CentOS 8
How to install Perl 5 on CentOS
How to wrap in python code
Detailed use of nmcli in CentOS8
How to install Git on CentOS 8
How to install Gradle on CentOS 8
How to install Elasticsearch on CentOS 8
CentOS configuration git server in VirtualBox
Install MySql with Docker in CentOS7
How to install Jenkins on CentOS 8
How to install Java on CentOS 8
How to install Go on CentOS 8