Centos6.8安装gcc【保姆级】

1.在虚拟机设置中,设备状态下的两个都勾选上

Centos6.8安装gcc【保姆级】

2.如图打开,进入packages,右键打开终端

Centos6.8安装gcc【保姆级】

3.分别输入如下指令,每输入一行,敲一次回车

  1. rpm -ivh kernel-headers-2.6.32-642.el6.x86_64.rpm
  2. rpm -ivh libgomp-4.4.7-17.el6.x86_64.rpm
  3. rpm -ivh libstdc+±devel-4.4.7-17.el6.x86_64.rpm
  4. rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
  5. rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
  6. rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
  7. rpm -ivh cpp-4.4.7-17.el6.x86_64.rpm
  8. rpm -ivh glibc-devel-2.12-1.192.el6.x86_64.rpm
  9. rpm -ivh glibc-headers-2.12-1.192.el6.x86_64.rpm
  10. rpm -ivh gcc-4.4.7-17.el6.x86_64.rpm
  11. rpm -ivh gcc-c+±4.4.7-17.el6.x86_64.rpm

4.进行测试

指令:gcc -v

Centos6.8安装gcc【保姆级】

相关文章:

  • 2022-12-23
  • 2021-11-11
  • 2022-01-05
  • 2021-11-06
  • 2021-04-13
  • 2022-01-11
  • 2021-12-15
  • 2022-12-23
猜你喜欢
  • 2021-05-16
  • 2022-01-21
  • 2021-05-31
  • 2021-11-23
  • 2021-12-01
  • 2021-08-16
  • 2021-09-30
相关资源
相似解决方案