sudo apt install ./nameofdebfile.deb
#dpkg -i /path/to/deb/file && apt --fix-missing install
Don’t even @ me about it. You all know it’s true.
Only because the above is not well known.
The important part of the article:
When software is not in the repo’s, You will have to use other options. Snap, Flatpak, and appimages are all good. However, when using Debian/Ubuntu based distros there is a option that in my opinion is better than all of these. Deb files. Deb files are files that allow you to install the package on your system using a file. Most applications will have their .deb file online. However, they can be difficult to install. I am going to go over the best way to use .deb files to install software on your system.
[…]
Using apt is my preferred way of installing .deb files. It is not graphical, but is is very easy and means that you not only don’t have to install anything, but you don’t have to fix anything after the installation either. To install using apt, you will have to use the terminal to cd into the directory where the .deb file is. Then type this in the terminal.
sudo apt install ./NameOfFile.deb
Also:
sudo debi --with-depends <fn>.deb