Re: Installing package *NOT* in repository
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, Aug 13, 2018 at 12:54:16PM +0000, Matthew Crews wrote:
> On 8/13/18 4:47 AM, Richard Owlett wrote:
> > PREAMBLE:
> > I've downloaded a .deb file.
> > I've recently done such an install but don't remember how.
> > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > Couldn't come up with useful search term for wiki.
> > Eventually recalled "dpkg -i" which worked.
> > QUESTION:
> > How would someone find the answer if the answer wasn't already known?
> > I went thru the same sequence last time.
> Its possible to use apt to install a file on your disk. For example:
> # apt install /path/to/file.deb
> Apt will also try to do dependency checking. I don't think dpkg will,
> but I'm not sure on that.
Yes, it will install dependencies (although you can fine-tune its
behaviour with --no-force-depends or --ignore-depends, if you so
wish). Cf. the man page.
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----