Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unable to install g++ compiler in my laptop loaded with ubuntu 10.10


    I have my net-book loaded with Linux (Ubuntu 10.10).
    I am trying to execute my C++ prog using g++. Unfortunately, it throws an error that g++ compiler is not installed. It suggests to install using the command sudo apt-get install g++.
    When i tried to install it gave me failure message to install the g++ compiler.
    Can any one please guide me how to install g++ compiler successfully?

    -Janardhan N L

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    "apt-get install g++" is actually correct.
    But ubuntu 10.10 is end-of-life, see here List of Ubuntu releases - Wikipedia, the free encyclopedia

    My suggestion is to use a supported OS, such as ubuntu 12.10.
    You must always face the curtain with a bow.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Either at home or at work or down the pub
    Or 12.04 if you would prefer an LTS release. g++ is part of the build-essential package which will bring in many other useful tools.
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!

    The Fifth Continent

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts