Solved

How can I install a Ubuntu software package offline including its dependency packages required?

Posted on 2008-10-01
2
1,792 Views
Last Modified: 2013-11-15
I installed Ubuntu 8.x server for i386 on VMWare. I want to install a package using "dpkg -i" command but this package requires another package and the required package depends on another one and so on. This dependency really pisses me off working with Ubuntu. Is there any way to install the base package and its dependency automatically in one time as required by the installing package? I do not prefer using online command such as "apt-get install". I want to install a package offline (Internet connection is not required).
0
Comment
Question by:tballah
2 Comments
 
LVL 13

Accepted Solution

by:
WizRd-Linux earned 250 total points
ID: 22620654
The only way you would be able to do this would be to use something like synaptics.  dpkg doesn't directly have the ability to resolve dependencies.

Alternatively, provide apt-get with only the local cdrom repositories or local directories and then remove the online sources from /etc/apt/sources.list.

run apt-get update and then use apt-get install <package> for it to use the local packages.
0
 
LVL 1

Author Closing Comment

by:tballah
ID: 31502223
I haven't tested it yet and I consider your answer for my personal KB
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question