LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2013, 03:25 PM   #1
ProtossPn
Member
 
Registered: Dec 2013
Location: /dev/Paracin
Distribution: Fedora 20
Posts: 31

Rep: Reputation: Disabled
How can i install C++ compiler on Fedora?


Hi,

I searched on web for some tutorials but i didn't found anything :P Can someone give me a link to rpm package or to repository, or something else that could help? I migrated from Ubuntu about week ago and i need to learn some things Thanks alot for every helpful reply.

[EDIT]
Btw i searched yum repositories and i didn't find anything.
 
Old 12-08-2013, 04:11 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Code:
su -
yum search gcc
it is there

but you have to install a lot more than ONLY one program

Code:
su -
yum groupinstall " Development Tools"
mind you only fedora 18 and 19 are supported
and fedora 18 is VERY near it's end of life


and have a look on Fedoraforum.org
http://www.fedoraforum.org/?view=fedora_setup

Last edited by John VV; 12-08-2013 at 04:18 PM.
 
Old 12-09-2013, 01:31 PM   #3
ProtossPn
Member
 
Registered: Dec 2013
Location: /dev/Paracin
Distribution: Fedora 20
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
Code:
su -
yum search gcc
it is there

but you have to install a lot more than ONLY one program

Code:
su -
yum groupinstall " Development Tools"
mind you only fedora 18 and 19 are supported
and fedora 18 is VERY near it's end of life


and have a look on Fedoraforum.org
http://www.fedoraforum.org/?view=fedora_setup
Hi, and thank you for replying.

I am running Fedora 19, and i searched the repository as you said, I found gcc.x86_64 package and installed it, works perfectly thank you
 
Old 12-09-2013, 03:39 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you installed ONLY this"gcc.x86_64"
then you are still missing a LOT OF needed code

please fallow the posted instructions or do not bother asking for help if you are not going to use it !

Code:
su -
yum groupinstall " Development Tools"
and then look to see if g++ is installed
 
Old 12-12-2013, 02:32 PM   #5
ProtossPn
Member
 
Registered: Dec 2013
Location: /dev/Paracin
Distribution: Fedora 20
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
if you installed ONLY this"gcc.x86_64"
then you are still missing a LOT OF needed code

please fallow the posted instructions or do not bother asking for help if you are not going to use it !

Code:
su -
yum groupinstall " Development Tools"
and then look to see if g++ is installed
Thank you for your response, but i need ONLY C++ compiler nothing else. I just need to compile some easy code for school and nothing else. Its working good.
 
Old 12-12-2013, 02:45 PM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Code:
sudo yum install gcc-c++

Last edited by schneidz; 12-12-2013 at 02:46 PM.
 
Old 12-12-2013, 07:23 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
ps.
"yum install gcc-c++"
that will ALSO install all the REQUIRED software that c++ needs
autotools need to also be installed
the gcc compiler all by it's self, is less than useless

it is like installing the Microsoft free VS 8 compiler but NOT installing everything else it NEEDS

Last edited by John VV; 12-12-2013 at 07:24 PM.
 
1 members found this post helpful.
  


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
C compiler cannot create executable, Apache 2.2.17 install on Fedora 18 rousbarr2004 Linux - Newbie 8 04-04-2013 11:14 PM
how do you install a c compiler in fedora baronobeefdip Fedora 14 11-18-2010 12:33 AM
So I need a C compiler to install a c compiler. Makes sense. vic305 Linux - Software 8 12-17-2008 10:30 PM
Is there somebody can install Intel C++ compiler on Fedora box? melinda_sayang Fedora 0 02-07-2004 07:38 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration