LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Is Aptitude capable of installing local .deb package and resolve dependency issue? (https://www.linuxquestions.org/questions/debian-26/is-aptitude-capable-of-installing-local-deb-package-and-resolve-dependency-issue-500746/)

Akhran 11-11-2006 09:50 PM

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.

crazypenguin 11-11-2006 10:55 PM

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

Sgt Canuck 07-06-2009 04:13 PM

Quote:

Originally Posted by Akhran (Post 2499834)
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

craigevil 07-06-2009 05:05 PM

Quote:

Originally Posted by Akhran (Post 2499834)
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.


All times are GMT -5. The time now is 03:58 PM.