LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-03-2009, 11:22 AM   #1
mothkuri
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Question bash: cc command not found PLZ HELP


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!!!!!!

 
Old 10-03-2009, 11:24 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,497

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Welcome to LQ

try
Code:
yum install gcc
 
Old 10-03-2009, 12:32 PM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,021

Rep: Reputation: 172Reputation: 172
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.
 
Old 10-03-2009, 12:39 PM   #4
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,347

Rep: Reputation: 135Reputation: 135
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.
 
Old 10-03-2009, 01:02 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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?
 
Old 10-03-2009, 01:23 PM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,347

Rep: Reputation: 135Reputation: 135
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.
 
Old 10-05-2009, 04:34 AM   #7
mothkuri
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
thanks all 4 ur replies i l definitely try it out
 
  


Reply

Tags
cc, command, found


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


All times are GMT -5. The time now is 09:35 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration