Pavan Aithal Asked: 2015-10-26 05:51:11 +0800 CST2015-10-26 05:51:11 +0800 CST 2015-10-26 05:51:11 +0800 CST How to Install a C/C++ compiler in Ubuntu 14.04LTS? [duplicate] 772 Is there a need to install a C/C++ compiler in Ubuntu 14.04 LTS? Where to write the program? How to compile the same? compiler 1 Answers Voted user23573 2015-10-26T07:29:53+08:002015-10-26T07:29:53+08:00 install compiler(s) C and C++ and make etc. sudo apt-get install build-essential Fortran sudo apt-get install gfortran g77 to edit source code use any texteditor. From the graphical user interface for example use kate. From the commandline use nano: nano main.cpp to compile g++ main.cpp -o main
install compiler(s)
C and C++ and make etc.
Fortran
to edit source code
use any texteditor. From the graphical user interface for example use
kate
. From the commandline usenano
:to compile