Install a .deb file from terminal on Ubuntu

Posted by mrsantoni on Mon 23 May 2016

I use Ubuntu 16.04. Sometimes, when I double-click a .deb file, the installation program does not work. What often solves the problem is installing it from terminal.

sudo dpkg -i my_deb_file.deb
sudo apt-get -f install