LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 10-03-2009, 12:22 PM   #1
mothkuri
LQ Newbie
 
Registered: Oct 2009
Posts: 2
Thanked: 0
Question bash: cc command not found PLZ HELP


[Log in to get rid of this advertisement]
I have installed RedHat Linux 9 through VMware 6.5
after getting in to GUI I opened the terminal and wrote a simple C program using vi editor.
After that i tried to compile the program using cc command
but,to my surprise its showing a error message as bash: cc command not found
What should I do?
Plz help me
What can I do Now
IF anything needed to be installed plz specify
Thanks in advance!!!!!!

windows_xp_2003 mothkuri is offline  
Tag This Post , , ,
Reply With Quote
Old 10-03-2009, 12:24 PM   #2
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,541
Thanked: 447
Welcome to LQ

try
Code:
yum install gcc
linuxdebian repo is offline     Reply With Quote
Old 10-03-2009, 01:32 PM   #3
arizonagroovejet
Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE 11.1
Posts: 432
Thanked: 12
Yet another person saying that they've just installed Redhat 9. For the love of [insert deity or notable scientist of choice], why do people keep installing Redhat 9 when went end of life some time over five years ago?

Do yourself a favour, ditch Redhat 9 and get the latest version of Fedora, Ubuntu or openSUSE instead.
linuxsuse arizonagroovejet is offline     Reply With Quote
Old 10-03-2009, 01:39 PM   #4
divyashree
Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4
Posts: 372
Thanked: 7
Quote:
Originally Posted by mothkuri View Post
I have installed RedHat Linux 9 through VMware 6.5
after getting in to GUI I opened the terminal and wrote a simple C program using vi editor.
After that i tried to compile the program using cc command
but,to my surprise its showing a error message as bash: cc command not found
What should I do?
Plz help me
What can I do Now
IF anything needed to be installed plz specify
Thanks in advance!!!!!!

HI,Welcome .1st check this,wheather u installed gcc or not,

Code:
rpm -qa | grep gcc
if not found install gcc.
linux divyashree is offline     Reply With Quote
Old 10-03-2009, 02:02 PM   #5
pixellany
Moderator
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch
Posts: 13,165
Thanked: 285
Quote:
Originally Posted by arizonagroovejet View Post
Yet another person saying that they've just installed Redhat 9. For the love of [insert deity or notable scientist of choice], why do people keep installing Redhat 9 when went end of life some time over five years ago?
Simple....There were 438 million books sold with RedHat CDs in them. Heck, I even have my RedHat 7.3 CD somewhere---or did it go in the last yard sale....

But then, are there not also some diehards running Win 95? Win 3.1?
linux pixellany is offline     Reply With Quote
Old 10-03-2009, 02:23 PM   #6
divyashree
Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4
Posts: 372
Thanked: 7
Quote:
Originally Posted by pixellany View Post
Simple....There were 438 million books sold with RedHat CDs in them. Heck, I even have my RedHat 7.3 CD somewhere---or did it go in the last yard sale....

But then, are there not also some diehards running Win 95? Win 3.1?
I support u brother.
linux divyashree is offline     Reply With Quote
Old 10-05-2009, 05:34 AM   #7
mothkuri
LQ Newbie
 
Registered: Oct 2009
Posts: 2
Thanked: 0

Original Poster
thanks all 4 ur replies i l definitely try it out
windows_xp_2003 mothkuri is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
bash command not found gobicse Linux - Newbie 3 12-19-2007 06:46 PM
bash command not found manolakis Linux - Newbie 13 01-21-2007 03:07 PM
bash: g++ command not found briemac Programming 14 12-31-2006 02:31 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
bash: command not found hamish Linux - Newbie 5 09-04-2003 05:45 PM


All times are GMT -5. The time now is 07:52 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration