How to Install g++-5 in Ubuntu 18.04



Install g++-5 by entering the following commands in the terminal:

sudo apt update
sudo apt install g++-5

Description:

GNU C++ compiler

This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.

Homepage: http://gcc.gnu.org/

Version: 5.5.0-12ubuntu1

Section: universe/devel