Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2006, 12:10 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
How to install Gcc

This is my problem. I have a source of C++. I want to Compile it in the Linux, I use Fedora Code 4.I asked many people about this and I was told that to compile the C++ source I have to have the GCC (GNU linux Compiler) im my FC but I don't know how to install GCC.
Please help me and Thanks.
Old 09-30-2006, 12:38 PM   #2
Senior Member
Registered: May 2005
Location: Paraguay
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Old 09-30-2006, 12:57 PM   #3
Registered: Apr 2006
Location: Quebec, Canada
Distribution: Xubuntu, Zenwalk, Slax, Gentoo
Posts: 39

Rep: Reputation: 16
Basically, In linux, there are 2 main ways to install software :

-Compile from Source
-Install Binary packages

GCC is what is used when you want to compile software from source tarballs, but the problem is to install GCC from source you need another version of GCC already on your computer, which doesn't seem to be the case.

The other option is to install binary packages. I've never tried Fedora Core, but from what I hear it uses RPMs as binary packages.

(checking website....)

Yup ! So What I would suggest is to install GCC using pirut. According to the Fedora Core website, You go into your menu on the desktop, select Application, then Add/Remove programs. Then do a search for GCC, and install the RPMs.

That's about it from my point of view. Maybe someone who has fedora core on this forum can help you better.

But what i'm wondering is why to you need to compile the C++ source ? why not use GNU's equivalent, g++ ?


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
Install or not install newest GCC version on Solaris 10. Zepiroth Solaris / OpenSolaris 6 05-26-2006 02:42 AM
Help me install GCC today! <-- 1yr without gcc :( nectron101 Linux - Newbie 4 04-17-2006 07:57 PM
install new gcc v3.4.5 over gcc v3.2.2 on red hat 9 mlaich Linux - Newbie 2 01-01-2006 08:52 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Must have gcc to install gcc? thafusion Linux - Software 4 05-28-2004 10:20 PM > Forums > Linux Forums > Linux - Newbie

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