Fedora Linux Support Community & Resources Center
  #1  
Old 7th December 2011, 07:05 AM
peacepanda Offline
Registered User
 
Join Date: Dec 2011
Posts: 12
windows_xp_2003ie
Question gcc problem with fedora 16

Hi,
I have installed gcc as the guest od on virtual box but when I ran the gcc its giving me error as gcc command not found.Dont gcc package come in by default with fedora 16.Please let me know also how do i proceed with installing gcc as i want to run some normal programs.

Thanks,
Ajit
Reply With Quote
  #2  
Old 7th December 2011, 07:14 AM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,839
linuxfedorafirefox
Re: gcc problem with fedora 16

Test if it''s installed with
ls -l /usr/bin/gcc
or
rpm -qf /usr/bin/gcc

You can install it with
sudo yum -y gcc
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #3  
Old 7th December 2011, 12:51 PM
peacepanda Offline
Registered User
 
Join Date: Dec 2011
Posts: 12
windows_xp_2003ie
Re: gcc problem with fedora 16

Hi,
I am still getting an error as below.

no such command gcc

gcc is not isntalled but the yum command gives the above error.

Please let me know what should be done.

Thanks,
Ajit
Reply With Quote
  #4  
Old 7th December 2011, 12:54 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: gcc problem with fedora 16

Quote:
Originally Posted by stevea View Post
Test if it''s installed with
ls -l /usr/bin/gcc
or
rpm -qf /usr/bin/gcc

You can install it with
sudo yum -y gcc



It should be

Code:
su
yum install gcc
Reply With Quote
  #5  
Old 7th December 2011, 12:57 PM
peacepanda Offline
Registered User
 
Join Date: Dec 2011
Posts: 12
windows_xp_2003ie
Re: gcc problem with fedora 16

Quote:
Originally Posted by leigh123linux View Post
[/COLOR]


It should be

Code:
su
yum install gcc
Sorry but even that doesnt work.I tried the same......
Reply With Quote
  #6  
Old 7th December 2011, 02:05 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,050
linuxfirefox
Re: gcc problem with fedora 16

peacepanda:

I think Leigh had it right, what is the problem when you did the yum install gcc ?

If you just want the sledge hammer approach and put in the group of the tools and compiler and libraries in general you can do this:
Quote:
su -
yum groupinstall "Development Tools" "Development Libraries"
I usually do that because gcc and building stuff usually requires tons of other tools: bison, make, gdb, automake, etc
so the group install just gets it over with
Reply With Quote
  #7  
Old 7th December 2011, 02:18 PM
peacepanda Offline
Registered User
 
Join Date: Dec 2011
Posts: 12
windows_xp_2003ie
Question Re: gcc problem with fedora 16

Marco,
I am tryiing your approch will get back to you once I have an update.thanks for the help.

Ajit
Reply With Quote
Reply

Tags
fedora, gcc, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing one package out of many! A Fedora problem or developer problem jakebpg Using Fedora 28 29th January 2011 12:49 PM
HD problem with fedora 12 installation (LVM partition problem?) warlus Hardware & Laptops 1 30th July 2010 11:01 AM
Fedora newbie, windows problem, network problem dustin0 Using Fedora 24 21st October 2007 06:47 AM
Fedora 7 install problem (nVidia SATA raid problem?) jdmclemore Installation, Upgrades and Live Media 12 23rd July 2007 04:03 PM
upgrade from Fedora core 6 to fedora 7 problem overule Hardware & Laptops 4 12th June 2007 03:39 PM


Current GMT-time: 12:07 (Sunday, 21-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat