Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How can I install software or packages without Internet (offline)?

I have recently started using ubuntu 12.04 for my dell inspiron 5500 15r. I want to install g++ and javac on my ubuntu.Since my USB modem doesn't support ubuntu i cannot connect my ubuntu to the internet.I have the .deb package of g++-4.4 GNU C++ compiler and openJDK Java 6 Runtime with me.

Please explain to me in detail how to install them to my ubuntu.

Thank You Saurav Shekhar

share|improve this question

marked as duplicate by Ringtail, Jorge Castro, fabricator4, hhlp, Tom Brossman Dec 8 '12 at 22:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Hello! I have removed your phone number since it is not used to help you with the problem. You will get your answer on this page. –  hexafraction Dec 8 '12 at 17:21
    
See this question: askubuntu.com/questions/974/… –  Flimm Dec 8 '12 at 17:29
    
normally g++ is already automatically installed with gcc as standard installation of ubuntu ? what report you have in terminal with command: gcc --version and with g++ --version ? specific solution tell you after your answer. –  dschinn1001 Dec 8 '12 at 17:31
add comment

1 Answer 1

to me it is not clear, if Saurav wants multiple versions of gcc or only one certain version of gcc with g++ ? it is topic for support at gcc.gnu.org normally - but I can reply here: there are different available packages of each version for gcc - such with gcc only and such with gcc and g++ together of one certain version. but that was a while ago ... now gcc is mostly always together with g++ in several distributions.

here are links who explain for installation with multiple versions of gcc on one machine:

http://stackoverflow.com/questions/448457/how-to-use-multiple-versions-of-gcc

http://lists.debian.org/debian-powerpc/2004/10/msg00075.html

http://unix.stackexchange.com/questions/36388/get-newest-gcc-for-debian

I overseen now that Saurav has no internet-access . . . ? but he types here ?

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.