Centos6.8 install gcc [nanny level]
1. In the virtual machine settings, check both of the device status
2. Open as shown, enter packages, right click to open the terminal
3. Input the following commands separately, and press enter once for each line input
- rpm -ivh kernel-headers-2.6.32-642.el6.x86_64.rpm
- rpm -ivh libgomp-4.4.7-17.el6.x86_64.rpm
- rpm -ivh libstdc+±devel-4.4.7-17.el6.x86_64.rpm
- rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
- rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
- rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
- rpm -ivh cpp-4.4.7-17.el6.x86_64.rpm
- rpm -ivh glibc-devel-2.12-1.192.el6.x86_64.rpm
- rpm -ivh glibc-headers-2.12-1.192.el6.x86_64.rpm
- rpm -ivh gcc-4.4.7-17.el6.x86_64.rpm
- rpm -ivh gcc-c+±4.4.7-17.el6.x86_64.rpm
4. Test
Command: gcc -v