well acktually

I prefer to install .deb packages with: sudo apt install ./package_name.deb
because this will also automagically install all required dependencies if those exist in the package system.

If you use: sudo dpkg -i package_name.deb then if there are any dependencies required you'll have to follow it up with sudo apt install -f for the package to run and for the package manager to not be in a non-functioning state until you install all missing dependencies or uninstall the package you just installed.
- gnarlin