[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PATH question



On Sun, Nov 12, 2023 at 09:25:26AM -0500, Thomas George wrote:
> Alternately dpkg -i debfile.deb works.

That doesn't install the dependencies.  It may leave your packages in
a semi-broken state, requiring you to run "apt-get -f install" afterward
to fix it.

Using "apt install ./debfile.deb" pulls in the dependencies and keeps
things in a working state at all times, if possible.

Using "dpkg -i" and then "apt-get -f install" was the old way.  You'll
still see people recommending it, because they don't know any better,
and old methods that still "work" (most of the time) take a long time
to die out.

It doesn't help that "apt install ./file" is not documented in the
official man pages.  People can only learn about it from the wiki, or
from word of mouth.


Reply to: