3

I have a fresh install of Ubuntu 11.10 and I tried to install g++. Unfortunately I did not find it in the Software Center. In the sources list the boxes for universe and main are checked. Any suggestions or hints?

Edit: As said below: I think the problem is that the Software Center needs some time to refresh the software sources. I did nothing and after appr. one hour every was available.

2 Answers 2

1

I suggest to install the package build-essential Install build-essential that will bring in the compilers gcc, g++ and other tools for development, like gdb and make.

4
  • It works now. I do not know why, but suddenly the search result showed the correct packages. Nov 19, 2011 at 20:45
  • The current g++ is 4.6.1
    – user24668
    Nov 19, 2011 at 20:47
  • 1
    I think the problem is that the Software Center needs some time to refresh the software sources. I did nothing and after appr. one hour every was available. Nov 21, 2011 at 22:08
  • You can force the sources to refresh in Update Manager (press Check) - the results should show in Software Center as well, they use the same packages. Be worth a try next time :)
    – Caesium
    Nov 26, 2011 at 10:59
1

You could try this:

sudo apt-get install g++

this will help you install it via the Software Center:

Install via the software center

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .