Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 09-27-2004, 11:06 AM   #1
Registered: Mar 2004
Location: Netherland
Distribution: Fedora Core 2, Mandrake10.0
Posts: 62

Rep: Reputation: 15
Question Error Message gcc: Command not found

There I am: freshly installed FC2.
Now I want to compile some program and I get an error-message that says:

"gcc: Command not found".

To find out what is wrong I enter "slocate gcc". I see lots of gcc-files and -directories:


It seems that everything is there, but the program won't compile

What do I miss?

Kind regards,

Old 09-27-2004, 11:40 AM   #2
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
No you don't. From what I can see, you've only got gcc libs installed. I don't use FC (or any other rpm-based distro) but I'm positive you can find a package called "gcc-something-something.rpm" in the CD's.
Old 09-27-2004, 01:23 PM   #3
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
gcc should be in the /bin directory. As wpyh says, you'll find a series of files called gcc34*.rpm in the second and third FC2 installation CDs. Install those or alternatively, go to one of the download mirrors, and install from the latest gcc* rpms.


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
make fail with: gcc-3.4 command not found andy101 Ubuntu 3 11-27-2005 02:45 AM
makefile gcc command cannot be found Mogul83 Programming 7 05-31-2005 04:11 AM
bash: gcc: command not found sandbag Linux - Software 8 05-05-2005 01:17 PM
VSFTPD make: gcc: Command not found Exutable Linux - Software 4 04-06-2005 03:15 PM
command not found error message dcarlis Linux - Newbie 3 10-21-2004 08:30 PM

All times are GMT -5. The time now is 04:26 AM.

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