Unable to download g++ & use internet

Asked by Raj Gaurav

Dear Team!

I am using Ubuntu 9.4. My problem is that, I have to work on C++ and for compilation of program I need G++ compiler. But I am not getting the link. Please send me the link from where I can download G++ compiler.

My second problem is that, I am using Reliance Netconnect+ (Model: ZTE-AC2737) for internet. But I am unable to use that in Ubuntu. So I can't use Internet in ubuntu. Please resolve this problem.

And please sent me the link to install G++ compiler. I will download it from window and then I will install it in Ubuntu.

Thanx.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gcc-defaults Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

To install g++ on any version of Ubuntu, you should use the package manager. You can use a graphical tool like the Ubuntu Software Center or the Synaptic Package Manager, or you can run a command like this from the Terminal (Ctrl+Alt+T):

sudo apt-get update; sudo apt-get install g++

However, Ubuntu 9.04 has not been supported for a very long time. You should not use it. One of the things that it means for it to be end-of-life (unsupported) is that it does not received updates to fix security vulnerabilities as they are discovered. This puts you and (if applicable) your company/organization and customers/clients at risk.

Currently supported versions of Ubuntu are 10.04 LTS, 10.10, 11.04, and 11.10.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#2

Installing a currently supported version of Ubuntu may well enable you to access the Internet without doing anything special. However, if it does not and you need to perform package management without an Internet connection, you can use something like http://keryxproject.org. To install just a few packages, you can manually download the .deb files. For g++, these are at https://launchpad.net/ubuntu/+source/gcc-defaults (expand the latest version that is marked 'release', 'updates', and/or 'security' under the codename for the Ubuntu release that you are running).

After you install a currently supported release of Ubuntu, if you still experience networking problems, you should open a separate question about that (https://answers.launchpad.net/ubuntu/+source/gnome-nettool/+addquestion).

Revision history for this message
Raj Gaurav (rajgaurav-jsr) said :
#3

Thank You Eliah for responding !
I am sorry, it is Ubuntu-9.10 which I am using. And I did all thing which you had instructed. By my problem is not solved yet. I didn't get c++ compiler.

And I am unable use Internet from Reliance NetConnect+ data card. The problem is that I can't use CD in my CD-ROM drive. Because it is not working. So only one option is to update is - internet.
And for internet I have data-card that is not even detecting in ubuntu.
Hot to overcome this? Please suggest.

Thanks.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#4

Ubuntu 9.10 is also not supported, and using it is a security risk for exactly the same reasons.

Currently supported versions of Ubuntu are 10.04 LTS, 10.10, 11.04, and 11.10.

Revision history for this message
gnc (gnc30) said :
#5

The problem is that I can't use CD in my CD-ROM drive. Because it is not working. So only one option is to update is - internet.
And for internet I have data-card that is not even detecting in ubuntu. https://audacity.onl/ https://findmyiphone.onl/ https://origin.onl/

Can you help with this problem?

Provide an answer of your own, or ask Raj Gaurav for more information if necessary.

To post a message you must log in.