LinuxQuestions.org

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

Jaitheradevi 04-23-2013 08:23 AM

gcc:command not found
 
Getting the statement "gcc:command not found" when i try to execute c program in fedore(I am using fedora in Virtual Box)

schneidz 04-23-2013 08:24 AM

Code:

sudo yum install gcc

knudfl 04-23-2013 08:44 AM

Welcome to LQ.

"How to get a usable gcc" : 1) su <Enter password>
2) yum install gcc-c++

Nbiser 04-23-2013 08:48 AM

Have you tried g++?

schneidz 04-23-2013 08:50 AM

Quote:

Originally Posted by Nbiser (Post 4937206)
Have you tried g++?

isnt g++ used to compile c++ code ?

Nbiser 04-23-2013 09:13 AM

Quote:

Originally Posted by schneidz (Post 4937210)
isnt g++ used to compile c++ code ?

I think that g++ and gcc can be used for both c++ &c. I have use gcc on c++ code before, any way.

I see that you're from Boston, how was your area during the man hunt?

schneidz 04-24-2013 03:10 PM

i actually moved some time ago but i was on edge trying to get in touch with relatives. one of my cousins works in a hospital near the bomb site and the whole hospital was on high alert hoping that medical facilities were not targeted (as is the case of many ied attacks during the iraq/afganistan war).


All times are GMT -5. The time now is 06:42 PM.