search

Home  >  Q&A  >  body text

linux - How do I know if gcc g++ is installed in my centos?

I want to know how to know whether gcc g is installed in my system

我想大声告诉你我想大声告诉你2768 days ago1000

reply all(6)I'll reply

  • 世界只因有你

    世界只因有你2017-05-27 17:46:48

    `
    whereis gcc
    whereis g++

    `

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-27 17:46:48

    Execute

    yum install gcc

    If you have installed it, he will tell you that you have installed it
    If you have not installed it, he will ask you if you want to install it

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-27 17:46:48

    rpm -qa|egrep 'gcc|g\+\+'

    reply
    0
  • 怪我咯

    怪我咯2017-05-27 17:46:48

    Press gcc and press Enter, or press which gcc and press Enter.

    reply
    0
  • 为情所困

    为情所困2017-05-27 17:46:48

    yum --disablerepo=* --enablerepo=c6-media install gcc gcc-c++

    reply
    0
  • 某草草

    某草草2017-05-27 17:46:48

    Enter gcc directly in the terminal to know whether gcc is installed

    reply
    0
  • Cancelreply