Step 1. Open terminal. Step 2. Type command to install gcc or g++ complier: $ sudo apt-get install build-essential This will install the necessary C/C++ development libraries for your Ubuntu to create C/C++ programs. But most Linux distributions already come pre-installed with the gcc compiler To check gcc version type this command: $ gcc –version or gccContinue reading “Running A C++ Program in Linux Terminal”