LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GNU Compiler Collection for Debian lenny (https://www.linuxquestions.org/questions/linux-newbie-8/gnu-compiler-collection-for-debian-lenny-746789/)

DebianNewbie 08-11-2009 01:15 PM

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

pljvaldez 08-11-2009 01:23 PM

Try aptitude install build-essential.

DebianNewbie 08-11-2009 01:50 PM

Quote:

Originally Posted by pljvaldez (Post 3639586)
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 :)


All times are GMT -5. The time now is 10:54 PM.