Solved

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

Posted on 2008-10-01
2
1,790 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…

839 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