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 offline?

At this moment I have next situation:

I have 2 computers:

First computer with Windows 7 and connection to the internet; Second computer with latest Ubuntu 11.10 and without connection to the internet.

and, my question next: How in this case I can install new packages on Ubuntu?

share|improve this question

marked as duplicate by Binarylife, Takkat, fossfreedom, Bruno Pereira, hhlp Dec 14 '11 at 15:37

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.

2 Answers 2

up vote 1 down vote accepted

Well this is rather a tricky situation if both the systems are remotely located from each other and cannot have network sharing (Internet sharing), And I have a tricky solution to your Problem.

Install Ubuntu 11.10 using Wubi installer on your windows 7 Machine. This way you will not alter your system in anyway.

Then install the following Portable Software Center on the Wubi install of Ubuntu. Here is a way to install it.

http://www.webupd8.org/2011/12/portable-software-center-create-custom.html

Download the software you need for your original Ubuntu PC & transfer the files using a Pen drive or External Hard Disk and Install. :-)

share|improve this answer

I assume that those two computers are located next to each other because otherwise this information would be meaning less.

Now to install packages on Ubuntu system, you have two options: Share the Windows PC's internet connection with the one running Ubuntu. For this connect the two computers using a direct network cable or by using a router if you have one. Then setup you windows PC to share internet connection and change Ubuntu PC's network connection properties to assign it a manual IP and to use the Windows PC's ip as gateway. If you decide to use this method then I can provide more detailed info.

The second method would be to download packages and install them offline. There is a very good answer by Javier Rivera here, I am just copying it here for completeness sake:

"Check out Keryx, it's an offline repository manager- it lets you download updates and new programs (with dependencies) to your flash drive. Its interface is similar to synaptic but it works on a pendrive (don't need installation). Unfortunately, the GUI needs wxwidgets, which don't come preinstalled on ubuntu (they're cross-platform and installable from here and ubuntu repository here). It can only install software in a Ubuntu system, but you can download the updates or new packages in any Linux, Windows or OS/X.

Here you can find a tutorial."

share|improve this answer

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