We can use two ways to install g++ on Ubuntu.
1. a. sudo apt-get install make gcc g++.
b. sudo apt-get install manpages-dev.
2. sudo apt-get install build-essential.
We can use two ways to install g++ on Ubuntu.
1. a. sudo apt-get install make gcc g++.
b. sudo apt-get install manpages-dev.
2. sudo apt-get install build-essential.