Difference between installing .deb files by CLI and double clicking [duplicate]
Solution 1:
dpkg
cannot automatically install the dependencies, whereas a GUI .deb installer (e.g. GDebi) installs all the required dependencies.
This is why, if you use dpkg without installing the dependencies first, you may end up with broken packages (which can be easily fixed in most cases with sudo apt install -f
).
To automatically get all the dependencies with command line, use the following command,
sudo apt install ./path/to/package.deb
Practically, this has no difference from installing with GDebi.