LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-11-2006, 10:50 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Is Aptitude capable of installing local .deb package and resolve dependency issue?


If I have a packageA.deb on my local harddisk, is aptitude capable of installing packageA.deb package and resolve any dependency issue automatically (by downloading the necessary files from the Internet) ? If so, what is the required parameter for aptitude?

Thanks.
 
Old 11-11-2006, 11:55 PM   #2
crazypenguin
Member
 
Registered: Jun 2002
Location: Idaho
Posts: 63

Rep: Reputation: 3
Yes!

You can install any deb package by "apt-get install 'package name' (in terminal window in root), aptitude, or synaptic.

With a Debian based distros, my preference is to install deb packages with synaptic as it is a very easy to use GUI over aptitude.

To install synaptic, open a terminal window logged in as root, and enter "apt-get install synaptic".

Aptitude works as well but the GUI is a bit more primitive.

Good luck with your Debian based distro.....

CP
 
Old 07-06-2009, 05:13 PM   #3
Sgt Canuck
LQ Newbie
 
Registered: Mar 2009
Location: Argentina
Distribution: Xubuntu 8.10, Dreamlinux 3.5 and Debian Lenny
Posts: 26

Rep: Reputation: 15
Quote:
Originally Posted by Akhran View Post
If I have a packageA.deb on my local harddisk, is aptitude capable of installing packageA.deb package and resolve any dependency issue automatically (by downloading the necessary files from the Internet) ? If so, what is the required parameter for aptitude?

Thanks.
If you have the deb package on your local disk, and you trust where it came from, just double click on it and the Package Installer will open and ask if you want to install it. Since it is a .deb package all the dependency issues "should" already be taken care of.

Have a nice day.
Bruce

Last edited by Sgt Canuck; 07-06-2009 at 05:14 PM.
 
Old 07-06-2009, 06:05 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Quote:
Originally Posted by Akhran View Post
If I have a packageA.deb on my local harddisk, is aptitude capable of installing packageA.deb package and resolve any dependency issue automatically (by downloading the necessary files from the Internet) ? If so, what is the required parameter for aptitude?

Thanks.
No, dpkg will try to install a local .deb if the depends are not met you can then do apt-get -f install and it should pull in and install.

or you can use gdebi.
Description: Simple tool to install deb files
gdebi lets you install local deb packages resolving and installing
its dependencies. apt does the same, but only for remote (http, ftp)
located packages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can 'dpkg -i' resolve dependency issue automatically? Akhran Debian 13 01-04-2010 10:54 PM
Preventing aptitude installing a package that I have built manually Simon Fisher Debian 3 06-30-2006 05:48 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 03:40 PM
Modify dependency in deb package Muffe Debian 2 08-26-2005 07:11 PM
dependency hell - installing .deb files without apt-get SerfurJ Debian 5 01-27-2005 03:51 PM


All times are GMT -5. The time now is 07:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration