LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2011, 08:51 AM   #1
aliasgar
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Unhappy no gcc command found


hi,

i'm trying to run c program in fedora with "gcc" command,
but it gives me error message like below:

[user@localhost ~]$ gcc ex.c
Command not found.
 
Old 10-20-2011, 09:17 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,367

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by aliasgar View Post
hi,

i'm trying to run c program in fedora with "gcc" command,
but it gives me error message like below:

[user@localhost ~]$ gcc ex.c
Command not found.
Obvious question, did you install it: yum install gcc
 
Old 10-20-2011, 09:22 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Or
Code:
# yum groupinstall "Development Tools"
to have a complete development environment (gcc, g++, gfortran, make, ld, and so on).
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc-4.5.2 - Pass 1 error -gcc command not found ?? adi_30stm Linux From Scratch 20 11-17-2011 01:23 PM
gcc : command not found PankajDS Linux - General 17 10-19-2007 03:43 AM
gcc: command not found tds2000_us Fedora 1 08-03-2006 09:02 AM
gcc: Command not found Lastomega Linux - Newbie 12 03-31-2006 11:28 PM


All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration