Solved

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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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