I'm having problems installing .deb packages. I tried to install vscode and chrome and failed.

The error suggests to enter a .deb package, when installing with terminal need run sudo dpkg -i *.deb and sudo apt-get install -f.

  • 2
    Did you run the commands that you mentioned, or did you get an error message saying you needed to run those commands? Can you copy and paste the exact error message? Thanks! Sep 16 '16 at 19:36
  • Make sure you are in the same dir as your desired .deb files in your terminal.
    – Anand
    Sep 16 '16 at 22:59
  • See more options of how to install .deb here.
    – sjodiel
    Sep 17 '16 at 22:22

If you go by command line, there are numerous ways to install the .deb packages but I’ll go with the simplest one. Open a terminal and use the following command:

sudo apt install (path to deb package)

Source: https://itsfoss.com/fix-application-installation-issues-elementary-os-loki/


Install gdebi :

sudo apt-get install gdebi

Now, right click on the .deb pckage and select to open it with gdebi.

Not the answer you're looking for? Browse other questions tagged or ask your own question.