How to install C++ on Ubuntu!

Created September 23, 2021

What is C++?

C++ is an object-oriented programming (OOP) language that is viewed by many as the best language for creating large-scale applications. C++ is a superset of the C language. A related programming language, Java, is based on C++ but optimized for the distribution of program objects in a network such as the Internet.


Installation

Install C++ compiler by installation of the development package build-essential:

sudo apt install build-essential

Check C compiler version:

g++ --version