LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-03-2006, 04:10 PM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
Installing GCC


hey friends,

i need help installing gcc to my system. (FC4) (well actually i need help installing most things)

i ran this so far:

Code:
sudo yum install compat-gcc-32
i thought this would install gcc. I run a whereis gcc and i get a directory but no executable gcc. So either its not installed or i can't find where it is to add it to environment variables.

can someone help me?
 
Old 01-03-2006, 04:29 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
what exactly are you trying to do? I believe gcc is installed by default with fedora
 
Old 01-03-2006, 04:54 PM   #3
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
i thought so too. I'm a c++ programmer who predominantly has (till now) resided in windows. My need to understand the linux filesystem is dire, but some basic things like how would i go about finding gcc if its already installed will just have to come first.

how would YOU go about finding gcc if you thought it was installed?
 
Old 01-03-2006, 05:10 PM   #4
swede
LQ Newbie
 
Registered: Jul 2005
Location: Wyoming
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by Geminias
i thought so too. I'm a c++ programmer who predominantly has (till now) resided in windows. My need to understand the linux filesystem is dire, but some basic things like how would i go about finding gcc if its already installed will just have to come first.

how would YOU go about finding gcc if you thought it was installed?
`which gcc`
 
Old 01-03-2006, 05:11 PM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
try man gcc
 
Old 01-03-2006, 05:19 PM   #6
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
no man entry for gcc. i guess thats a quick way to determine if its installed? So its not installed... can anyone help me get it.

i need a c++ compiler for FC4... lol thats the objective.
 
Old 01-03-2006, 05:34 PM   #7
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
try here http://download.fedora.redhat.com/pu...dates/4/SRPMS/

gcc-4.0.2-8.fc4.src.rpm 29-Nov-2005 15:22 29M
 
  


Reply



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
Installing GCC Quiber SUSE / openSUSE 1 01-15-2005 02:45 PM
help installing gcc spooodini Linux - Software 13 10-26-2004 05:40 PM
installing gcc help aaronruss Linux - Newbie 5 06-05-2004 01:29 AM
installing gcc 2.95.3 flikmy Linux - Software 1 01-10-2004 04:13 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 AM.

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
Open Source Consulting | Domain Registration