Install from Deb

Ralf Mardorf kde.lists at yahoo.com
Thu Apr 8 20:46:35 UTC 2021


On Thu, 8 Apr 2021 19:43:48 +0200, Liam Proven wrote:
>> Would dpkg work with installing a .deb file just as well as the
>> gdebi command?  
>
>Yes, it would. The only thing is that AFAIK `dpkg` won't automatically
>install dependencies -- it will install the package but not add in
>anything it needs that is missing.

Correct, but gdebi is obsolete, since nowadays apt can install a local
stored package and automatically add dependencies from repos, too.

In the old days apt-get was required to get dependencies provided by
repos and after that dpkg to install the local stored package or instead
gdebi to install a local stored package and automatically resolve
dependencies by repos. Nowadays apt can be used to replace apt-get +
dpkg or to replace  gdebi.

Btw. those using the wget or curl approach should consider to download
signed checksums, too and to verify downloaded packages against the
signed checksums.

I couldn't find an explanation for packages, however it works the same
way as it does for tarballs or ISO files, see

https://www.kernel.org/category/signatures.html

https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview

It's probably easier to add a repository, to get this check
automatically.




More information about the ubuntu-users mailing list