PDA

View Full Version : [all variants] Is there an apt command equivalent to yum localinstall?



JimGvo
August 5th, 2008, 11:53 AM
Sometimes I get .deb files that I need to install but end up in dependency hell getting them installed. Yum solves that problem with the localinstall option, is there a way to do the same thing using any of the apt/dpkg tools?

Thanks,
Jim.

kerry_s
August 5th, 2008, 01:15 PM
dpkg -i filename.deb

you can also just click on the deb if gdebi is installed, it usually is.

JimGvo
August 5th, 2008, 05:02 PM
dpkg -i filename.deb

you can also just click on the deb if gdebi is installed, it usually is.

I don't know about gdebi, but dpkg -i is definitely not the same as yum localinstall. Yum localinstall will attempt to satisfy and load dependencies. Dpkg does not, unless it's changed recently.

Does gdebi resolve dependencies?

What I'm looking for is an apt-get install xxx.deb but I don't think that works.

Thanks,
Jim.

kerry_s
August 5th, 2008, 10:03 PM
I don't know about gdebi, but dpkg -i is definitely not the same as yum localinstall. Yum localinstall will attempt to satisfy and load dependencies. Dpkg does not, unless it's changed recently.

Does gdebi resolve dependencies?

What I'm looking for is an apt-get install xxx.deb but I don't think that works.

Thanks,
Jim.

no dpkg does not, after running "dpkg -i" you run "apt-get -f install" that will grab any missing depends.

yes, gdebi resolves dependency's.



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.

This package contains the graphical user interface.

here's the manual for apt/dpkg, as it's good to know how to use:
http://www.debian.org/doc/manuals/apt-howto/

JimGvo
August 6th, 2008, 01:33 AM
OK that's what I'm looking for. Thanks!

Jim.