PDA

View Full Version : [ubuntu] need help with installing packages on an offline pc



gobis
November 23rd, 2010, 01:30 PM
Hello everyone,

I installed ubuntu 10.04 LTS on my home pc alongside windows 7. This being a pc without an internet connection, I thought I could use my dual-booting laptop to carry packages downloaded from internet repositories. I can transfer the packages from the laptop's cache, but then I need to find a method easier than installing them individually, while also taking care of dependencies. In the case of g++, circular dependencies made even that impossible.

Now, I know of aptoncd, but it seems to offer help only in recovering packages, not in installing them. It has the option of creating an installation cd, but after creating an iso on the laptop, and mounting it on the pc, I don't know what to do for installing them.

If anyone can provide me with some pointers, I can struggle easier, I think.

Best wishes for everyone,
Hurol Aslan

sikander3786
November 23rd, 2010, 07:21 PM
Hi.

Please take a look here.

http://keryxproject.org

oldos2er
November 23rd, 2010, 07:37 PM
Gdebi (GUI) and dpkg (CLI) should both work, assuming you have all needed dependencies in one folder.

gobis
December 7th, 2010, 11:34 AM
Hello again,

I have not had a chance to check for answers here for a long time, but I found the solution on one of the ubuntu community webpages. dpkg-dev turned out to be the answer. It helps construct an installable package list based on another existing and updated ubuntu installation. That way, I was able to install packages I selected from the laptop to my offline pc.

Thanks everyone for helpful hints.
Hurol