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.

I can't install it. Qhen I am installing build-essential_11.4build1_amd64.deb getting error of wrong architecture still I am using amd turion 64 and then i am trying to install build-essential_11.4build1_i386.deb getting error of Dependency is not satisfiable:g++(>=4:4.3.1)

I don't have an internet connection in ubuntu that's why I have downloaded from windows so what to do now?

share|improve this question
1  
How are you exactly installing build-essential? It seems that you've downloaded a .deb file. Don't do that. You're not on Windows - in Ubuntu we use repositories. Try sudo apt-get install build-essential in a terminal and report the results or exact error output in your question by editing it. –  gertvdijk Aug 18 '13 at 14:31
    
sir i don't have internetconnection in ubuntu thats why i hv downloaded from windows so what to do now? sir when I am using command line then they are giving error of unable to locate package build-essential –  mayur Mehta Aug 18 '13 at 14:34
1  
I suggest to fix your internet connection first. That will make your life a lot easier. –  gertvdijk Aug 18 '13 at 15:22
    
@gertvdijk I bet that's exactly what he's trying to achieve. If your NIC isn't supported by the kernel you've to build modules from e.g. Compat-wireless –  Germar Aug 18 '13 at 15:41
1  
I should note that build-essential is a metapackage. That is to say, it refers to other packages, as build-essential incorporates a lot of basic libraries for building and a lot of executables, so they don't bundle it up in one package, it refers to many other packages. –  Thomas W. Aug 18 '13 at 15:55
add comment

1 Answer 1

Open a Terminal by pressing CTRL+ALT+T and type:

sudo apt-get -qq --print-uris install build-essential linux-headers-$(uname -r) | cut -d\' -f 2 > urls.txt

copy the urls.txt to a thumbdrive and move over to a computer with Internet Access. Download all files from urls.txt (if the other computer is running Linux you can use wget < urls.txt) and save them in a folder called deb on your thumbdrive.

Go back to your Ubuntu machine, plug in the thumbdrive and open a Terminal

sudo cp /media/YOUR_USERNAME/THUMBDRIVE_NAME/deb/* /var/cache/apt/archives/
sudo apt-get install build-essential linux-headers-$(uname -r)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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