This question already has an answer here:
I have 2 operating systems on my pc: windows 8.1 and Ubuntu. Windows 8.1 has internet connection, but Ubuntu does not. Is there a way I can download GCC for Ubuntu on my drive and then transfer and install it from there? what do I have to keep in mind when installing?
Note: I have never installoed a program on Ubuntu before!!
Specs: ubuntu 13.10 32bit windows 8.1 64bit
After trying the awnser I got this error: https://www.flickr.com/photos/131390508@N06/16405946079/