c++ compile problem under ubuntu
Hi:everyone
i just installed the new Kubuntu Linux in my computer,but i can`t compile any *.cpp file with g++ command . Terminal show me "bash : g++: command not found" i dont know the why i cant use g++ to compile. thanks alot , please help me with this small problem. |
Hi ,
generally g++ distribution comes under /usr/bin, you should find where is g++ installed on your system and export that path to your PATH environment variable. Hope this helps you. Thanks, Deepti |
thank you
but i dnot know how to export that path to my PATH environment , i am a new people in Linux.
|
Ubuntu? Compiler problems?
sudo apt-get install build-essentials |
thanks ,could u tell me nore detail about installing build-essentials??
|
Er.. Details? It was command-line to install. By default Ubuntu and clones do not install anything related to compilation. So you need to install it. There is meta-package build-essentials with no files, but lots of dependencies. Its installation makes Ubuntu install everything needed for compilation of standard C/C++ programs.
|
hi^_^
how to install meta-package build-essentials?
|
sudo apt-get install build-essentials
|
ha^_^
thanks |
All times are GMT -5. The time now is 06:00 PM. |