I'm using Linux Mint and I want to install Discord via the Terminal instead of the software manager. However, when I try to run 'sudo apt install discord', I keep getting an error saying it can't find the package. I've also tried using 'discord-launcher' and 'discord-installer', but those aren't working either. I feel like I might be missing something simple. Can anyone provide guidance on how to install Discord through the Terminal? Thanks in advance!
4 Answers
The official Discord package isn't in APT, so adding a random third-party repository isn't advisable. Instead, I recommend downloading the .deb file from the Discord website or using Flatpak for a smoother experience. Here’s the Flathub link for Discord if you're interested: https://flathub.org/en/apps/com.discordapp.Discord.
Flatpak is a great option for installing Discord on Linux Mint. Also, you can find the .deb file on Discord's official site. If you'd like to check out another client, I use Vencord, which is also available on Flathub!
Discord isn't available in the default APT repositories, so you'll need to download the official .deb package from their website. You can do that with the following command:
`wget -O discord "https://discord.com/api/download?platform=linux&format=deb"`
Then, to install it, use:
`sudo dpkg -i discord`
Also, if you want a different client that auto-updates, you might want to check out some third-party options, but be sure to research their safety first.
You're right; Discord isn't in the standard repositories. If you want to install it from the terminal, grab the .deb package directly from Discord's site and install it using:
`sudo apt install ./Downloads/discord.deb`
Or consider using Flatpak with this command: `flatpak install discord`. Flatpak can simplify installations and updates.

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux