Installing .deb packages with apt-get

Mario Vukelic mario.vukelic at
Wed May 16 20:21:01 UTC 2007

On Wed, 2007-05-16 at 23:04 +0300, Dotan Cohen wrote:
> Will that install a local .deb file?

It won't

> I'd like to know if
> there's an option akin to yum's "localinstall" option.

dpkg or doubleclick, as already noted in the thread :)
> While we're on the subject, yum lets the user know what it's going to
> add/remove/update and asks for confirmation first. I see the -s option
> for simulate, but I'd just like it to tell me what it's doing first
> and then let me decide. Is this possible? Or do I have to do every
> operation twice: once simulated, and once for real? 

If apt-get does not need to do anything in addition to what you entered,
it will follow your command straight away. 
However, it will ask if it needs to do anything you did not specify,
e.g. satisfy additional dependencies, remove other packages, change
config files or whatever.

More information about the ubuntu-users mailing list