Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Mandriva Linux Help > Problems running c & c++ programs

Forgot Password?
 Mandriva Linux Help   For help and discussion about Mandriva (formally Mandrake) Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-24-2007   #1 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 1
Problems running c & c++ programs

Hello friends
I am completly new to linux and I have installed mandriva linux one 2007
Now when i type any command I get the following error

bash : gcc : command not found

I tried to change the path but i could not do it successfully
Can anyone give step wise explanation about how to run c programs under linux

If available, please send any link which will help me solve this problem
raju_8887 is offline  



Reply With Quote
Old 05-24-2007   #2 (permalink)
Linux Engineer
 
valemon's Avatar
 
Join Date: Oct 2006
Location: Volos
Posts: 918
Send a message via MSN to valemon Send a message via Skype™ to valemon
you don't have gcc instaled in your system. It must be in your mandriva cd. You can install it using your package manager
__________________
Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
Arch/Moblin
Linux user #442041
valemon is offline   Reply With Quote
Old 05-24-2007   #3 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 4,106
For C++ apps, make sure you install gcc-c++ (g++ on some distros).
daark.child is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:08 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1