Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    3

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


    Hi,

    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?

    Thanks,
    -Janardhan N L

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    "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
    Location
    Either at home or at work or down the pub
    Posts
    3,628
    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.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  4. $spacer_open
    $spacer_close

Posting Permissions

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