Heim  >  Fragen und Antworten  >  Hauptteil

linux - Woher weiß ich, ob GCC G++ in meinem Centos installiert ist?

Ich möchte wissen, ob gcc g++ in meinem System installiert ist

我想大声告诉你我想大声告诉你2701 Tage vor940

Antworte allen(6)Ich werde antworten

  • 世界只因有你

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

    `
    whereis gcc
    whereis g++

    `

    Antwort
    0
  • 仅有的幸福

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

    执行

    yum install gcc

    如果装了他会告诉你已经装了
    如果没装他会问你是否要装

    Antwort
    0
  • 给我你的怀抱

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

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

    Antwort
    0
  • 怪我咯

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

    敲 gcc 回车,或者敲 which gcc 回车。

    Antwort
    0
  • 为情所困

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

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

    Antwort
    0
  • 某草草

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

    直接在终端输入 gcc,即可知道gcc是否安装

    Antwort
    0
  • StornierenAntwort