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.


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

| improve this answer | |
  • Download discord, then install sudo dpkg -i discord-*.deb.


  • Easy way just install discord from flatpak sudo flatpak install flathub com.discordapp.Discord or you can browse/ search in Appcenter
| improve this answer | |
  • 1
    DO NOT use sudo to install Flatpak applications – Bo rislav May 20 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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