Hey everyone! I recently switched to Linux, and I'm a bit out of my depth here. I tried to download Discord by getting the .deb file from their website, but when I run the command `sudo apt install ./discord-0.0.90.deb`, I get an error saying that it's an unsupported file. Can anyone help me figure out what's going wrong?
4 Answers
Honestly, I recommend using Flatpak instead of dealing with .deb files. It's usually a smoother experience, and it avoids a lot of dependency issues that can arise with apt or dpkg. If you want to stick with .deb files, make sure you have the right permissions set on the file too—use `chmod +x discord-0.0.90.deb` to make it executable!
Just a heads up, while Flatpak is great, you might still encounter some update prompts occasionally.
It's pretty common to get it wrong the first time! The traditional command is `sudo dpkg -i discord-0.0.90.deb`, but you definitely need to be in the folder where the file is located. If all else fails, apt is generally better at handling dependencies than dpkg, so using `sudo apt install ./discord-0.0.90.deb` is valid, as long as you're in the right directory. Just keep an eye out for errors!
Got it! I'll make sure to check my directory next time.
Another thing to check is whether the .deb file is actually in the directory where you're trying to install it. If it's in your Downloads folder, you'll need to navigate there in the terminal with `cd Downloads` before running the install command again. Just make sure you're in the right location!
First off, which Linux distribution are you using? If you're on something like Linux Mint or Debian, you typically shouldn't need to download apps manually. Usually, you can just use your system's package manager. If you're having trouble, try opening your software manager and searching for "Discord" to install it through there!
Thanks for the tip on Flatpak! I think I'll give that a shot.