How to install .deb from terminal

To install a .deb package via Terminal in Ubuntu, run the following dpkg command

sudo dpkg -i [path]

if an error shows, run the following command to install any missing dependencies ubuntu/Linux:

sudo apt --fix-broken install