I cannot seem to install any downloaded .deb
package by clicking on it (I am on Ubuntu 16.04):
- they open with the "Ubuntu Software" GUI, with a button "Install";
- clicking on this button seems to do something (as in, a progress-bar appears), but the software is not installed afterwards.
I can install them from the console using sudo apt install /path/to/foo.deb
, but I would like to know why the graphical way of doing things doesn't work.
Note: I know I can also install gdebi
to install .deb
packages, but that's not really the point of my question :)
apt install
does not take filenames as argument. You have to usesudo dpkg -i /path/to/package.deb
, after which you likely have to runsudo apt install -f
to fix missing dependencies. – Byte Commander Aug 26 '17 at 13:11dpkg -i
, butapt install ./foo.deb
works. – Jonathan H Aug 26 '17 at 13:15apt install Downloads/test.deb
). It works with explicit relative paths (./Downloads/test.deb
) or absolute paths (/home/username/Downloads/test.deb
) though. Learned something today. Unfortunately Bash-autocomplete doesn't pick up filenames there. – Byte Commander Aug 26 '17 at 13:33