I am a new user in elementary os. I tried installing a deb file in the terminal, however it doesn't work. I had tried sudo apt install but it doesn't work.

2 Answers 2


To install a downloaded .deb file, you have to use the command dpkg.

sudo dpkg -i <distination>/<package>.deb

Or install Eddy, it's point and click for .deb files.

By the way Discord is available at Flathub: enter link description here

  • Download discord, then install sudo dpkg -i discord-*.deb.


  • Easy way just install discord from flatpak flatpak install flathub com.discordapp.Discord or you can browse/ search in Appcenter
  • 1
    DO NOT use sudo to install Flatpak applications
    – Bo rislav
    May 20, 2020 at 23:17
  • @Borislav, sorry.. my bad :( Sep 2, 2021 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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