LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-11-2009, 01:15 PM   #1
DebianNewbie
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
GNU Compiler Collection for Debian lenny


Hello,
I just installed Debian lenny. I thought GNU compiler collection comes with all linux operating systems, but when I typed "g++ (filename.cpp)" on the terminal, it displays this message:

bash: g++ command not found

What do I need to do in order to enable GNU Compiler Collection? I tried to find this on install/uninstall utility, but it is not on the list.

Thanks
 
Old 08-11-2009, 01:23 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Try aptitude install build-essential.
 
Old 08-11-2009, 01:50 PM   #3
DebianNewbie
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez View Post
Try aptitude install build-essential.

Thanks pljvaldez. It worked perfectly without any problems

For future newcomers, this is what I did:

-Open root terminal
-Type: aptitude install build-essential
-Follow instructions on the screen

Again, thanks pljvaldez for great help
 
  


Reply


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
LXer: A triple-boot system with GRUB: Debian GNU/Linux "Lenny", FreeDOS 1.0, and Wind LXer Syndicated Linux News 0 01-12-2009 08:20 PM
LXer: What's new in the GNU Compiler Collection release series LXer Syndicated Linux News 0 10-31-2008 12:10 AM
LXer: DistroWatch Weekly: Interview - sidux, Debian Lenny installer, SliTaz GNU/Linux LXer Syndicated Linux News 0 03-24-2008 06:10 AM
LXer: Looking for errors in Debian with the GNU Compiler Collection LXer Syndicated Linux News 0 04-01-2006 02:21 AM
Introduction to GCC - The GNU Compiler Collection jeremy Programming 2 03-28-2005 04:17 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration