LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-22-2008, 02:33 AM   #1
jjp50
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Question compiling with fedora 8


Hi

I have recently instaled fedora 8 on my computer for the perpose of c programming pratical at uni. the install was from a fedora live disc.

GNOME
version 2.20.1
Build date 10/15/2007


when i try to compile a c file i get a message saying:

"bash: gcc: command not found"

can anyone provide an information about what i'm doing wrong?

Regards
Julian
 
Old 05-22-2008, 02:38 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by jjp50 View Post
can anyone provide an information about what i'm doing wrong?
You're trying to use software that (most likely) isn't installed. You shouldn't assume that gcc has been installed, because it may be that Fedora doesn't install development packages unless you specifically tell it to (I don't know, I don't use Fedora). So, the obvious thing to try would be to install gcc. There's information on installing software in Fedora here.
 
Old 05-22-2008, 04:55 AM   #3
digvijay.gahlot
Member
 
Registered: Mar 2008
Posts: 53

Rep: Reputation: 15
What Nylex said is true. You can query to check whether a package is installed or not by
# rpm -q <package-name>
 
Old 05-24-2008, 12:56 AM   #4
harsshal
Member
 
Registered: Jul 2006
Location: New York, NY
Distribution: redhat,ubuntu,RHEL,fedora,centOS
Posts: 105

Rep: Reputation: 15
if not present,you can load it through applications -> add/remove software.

or through CLI(command line innterface) usinf command "yum install gcc"
 
  


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
Compiling C in Fedora Core 2 mparsons Linux - Software 7 11-14-2005 12:16 AM
Compiling C with GCC in Fedora Markness Linux - Newbie 3 04-28-2005 10:01 PM
compiling fprograms with fedora 3 just_dan Linux - Software 17 02-18-2005 04:37 PM
Compiling in Fedora Xhalman Fedora 9 03-23-2004 09:47 PM
Compiling on fedora... ramsees Fedora 1 02-23-2004 08:54 PM


All times are GMT -5. The time now is 02:57 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