Ubuntu – How to install g++ 4.4 on Ubuntu


There is a Debian g++-4.4 package,
but it's not Ubuntu. There are too many system-destroyed scary stories on the web.

How can I install g++ 4.4 on Ubuntu?

Best Solution

I recomend you install build-essential package that contains g++.

Type it in your terminal:

$ sudo apt-get install build-essential

Then confirm installation.