Solved

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

Posted on 2008-10-01
2
1,787 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
Comment Utility
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
Comment Utility
I haven't tested it yet and I consider your answer for my personal KB
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now