LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2006, 12:32 PM   #1
Black Hawk
Member
 
Registered: Mar 2006
Distribution: Ubuntu 7.10
Posts: 38

Rep: Reputation: 15
Installing deb pacage on local drive


Hi. This is my very first post.

I'm new to linux and I need to know if there's a way to install a .deb pacage located on my harddrive and let the pacage manager resolve dependencies.

What is the command to do that.

Thanks in advance.
 
Old 11-21-2006, 12:52 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can install with dpkg -i package.deb. But I don't think it does dependency resolution. But you should be able to find out the dependencies by doing a dpkg --info package.deb. Don't hold me to that, I could be wrong...

I guess the other option would be to take that file and create an apt repository on your hard drive, specifying the appropriate dependencies. I've never done this, but at the bottom of this page is a quick howto for setting one up.
 
Old 11-21-2006, 01:43 PM   #3
Black Hawk
Member
 
Registered: Mar 2006
Distribution: Ubuntu 7.10
Posts: 38

Original Poster
Rep: Reputation: 15
Ok. Thank You. I kind of hoped that there were a way to do this using aptitude, but I think I figured it out now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Aptitude capable of installing local .deb package and resolve dependency issue? Akhran Debian 3 07-06-2009 05:05 PM
help needed as to installing from local drive. hacker supreme Linux - Desktop 10 10-16-2006 03:06 AM
dpkg complains about clashes between nvidia-glx with uninstalled pacage jabka Debian 3 07-30-2006 01:41 AM
Need help installing local deb file leiavoia Debian 5 04-15-2005 07:12 AM
kernel 2.6.6 and QT Devlopment Pacage. jmw83 Linux - Newbie 11 06-03-2004 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration