linux - How do I know if gcc g++ is installed in my centos?
我想大声告诉你
我想大声告诉你 2017-05-27 17:44:48
0
6
980

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

我想大声告诉你
我想大声告诉你

reply all(6)
世界只因有你

`
whereis gcc
whereis g++

`

仅有的幸福

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

给我你的怀抱

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

刘奇

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

为情所困

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

某草草

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template