How to install packages from the command line in (K)Ubuntu

This is more a note for myself, but recently I had an instance where I had a deb package to install but it needed me to accept a license – thing is that it wouldn’t work using the GUI – it’d just display a window saying ‘Done’. I worked out I had to install from the CLI to get it to show the license so that I could accept it.

Anyway – here’s the command :

sudo dpkg -i <location of deb file>

Leave a Reply