Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install g++ 4.4 on Ubuntu?

Tags:

g++

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?

like image 602
Łukasz Lew Avatar asked Apr 24 '09 00:04

Łukasz Lew


2 Answers

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

Type it in your terminal:

$ sudo apt-get install build-essential

Then confirm installation.

like image 62
Lucas Arbiza Avatar answered Nov 15 '22 12:11

Lucas Arbiza


Have a look at this URL. I installed gcc-4.4 (and g++-4.4) from there, which seem to be the most official group of hackers that actually put gcc-4.4 into an ubuntu .deb. Till now running without problems :

https://launchpad.net/~ubuntu-toolchain/+archive/ppa

Regards.

like image 45
Diego Sevilla Avatar answered Nov 15 '22 13:11

Diego Sevilla