LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   g++ command not found (https://www.linuxquestions.org/questions/linux-newbie-8/g-command-not-found-604622/)

nodar 12-05-2007 02:51 AM

g++ command not found
 
Hi all,

I'm new in linux and try to compile c++ codes in it. I use g++ but it failed stating that g++ command not found. I tried "yum install g++" but it prompted me this "another copy is running...". What do you mean by this? How can g++ be installed?

thanks,

noldar

jschiwal 12-05-2007 02:58 AM

I think that that prompt meant that another instance of Yum was running, not another instance of g++.

reddazz 12-05-2007 03:25 AM

Hi and welcome to LQ. g++ is called gcc-c++ on Fedora, so thats the package you need to install.

nodar 12-05-2007 05:02 AM

Thanks all. I already successfully installed gcc-c++.


All times are GMT -5. The time now is 06:17 AM.