How to install a C compiler in Red Hat?
Sir my name is mallesh. I'm a member in your website. I have faced one problem in red hat linux 5.0. Recently I have installed redhat linux 5.0 in my system by vmware software. It installed successfully but i am facing one problem. when i am typing small c language program in vi editor. It will show one error what that means,
bash : cc compiler not found. I can't understand. Sir plz help me. Thanks in advance. |
Hi,
Okay...you make things way too difficult for yourself. VI is good, but not (in my opinion) for development...at least go for Bluefish (there are others/better ones, but it's a good start), okay, now... Quote:
A compiler is not installed by default (not on my distro) so you'll need to install that, and the headers, first... Luck Thor |
Quote:
Now that you understand the message, what are you going to do about it? Quote:
Quote:
|
Quote:
vi is perfectly good for programming (although I would recommand Vim, it has some extra useful features). After getting used to it and learning how to edit multiple documents, I think that it's much beter than using the mouse to navigate documents. |
Quote:
Quote:
Quote:
Also, if it's RHEL, you should be paying for it. If you don't want to pay, get CentOS. It's a free version of RHEL with branding removed. Quote:
This is for Fedora (which is Red Hat-based), so I guess it should work: Code:
yum groupinstall "Development Tools" |
All times are GMT -5. The time now is 05:30 PM. |