Solved

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

Posted on 2008-10-01
2
1,795 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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

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…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Suggested Courses

615 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