I told you, you need to look up a guide to use flatpak or snap generally:
look at these instructions I just found with a 10 second web search
they also have a .deb package on their webpage (discord.com)
So the guide I just posted, actually looks like what you already tried to do:
install com.discordapp.Discord from flathub, but then the install procedure broke after that point,
also looking at the instructions on flathub.org is helpful
https://flathub.org/setup/Debian
(in the setup guide for debian, it says you should reboot your system after adding the flathub repository flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo)
then it says you should simply run these commands
https://flathub.org/apps/com.discordapp.Discord
Kinda weird though, that both flatpak and snap are so complicated to use, especially since you're basically downloading giant executables, packed with static libraries, like big single files. It doesn't make sense that you have to restart your computer afterwards, that is odd.
look at these instructions I just found with a 10 second web search
https://idroot.us/install-discord-debian-12/Method 2: Installing Discord using Flatpak
Flatpak is a universal package management system that allows you to install applications across different Linux distributions. Here’s how to install Discord using Flatpak on Debian 12:
Step 1: Set up Flatpak
If Flatpak is not already installed on your system, you can install it using the following command:
sudo apt install flatpak
Step 2: Add the Flathub repository
Flathub is the primary repository for Flatpak applications. Add it to your system with this command:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Step 3: Install Discord via Flatpak
Now you can install Discord using Flatpak:
flatpak install flathub com.discordapp.Discord
Step 4: Run Discord
To launch Discord installed via Flatpak, use the following command:
flatpak run com.discordapp.Discord
they also have a .deb package on their webpage (discord.com)
So the guide I just posted, actually looks like what you already tried to do:
install com.discordapp.Discord from flathub, but then the install procedure broke after that point,
also looking at the instructions on flathub.org is helpful
https://flathub.org/setup/Debian
(in the setup guide for debian, it says you should reboot your system after adding the flathub repository flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo)
then it says you should simply run these commands
https://flathub.org/apps/com.discordapp.Discord
If that fails just use the .deb package from their main websiteMake sure you follow the setup guide for your Linux distribution before installing
flatpak install flathub com.discordapp.Discord
Run
flatpak run com.discordapp.Discord
Kinda weird though, that both flatpak and snap are so complicated to use, especially since you're basically downloading giant executables, packed with static libraries, like big single files. It doesn't make sense that you have to restart your computer afterwards, that is odd.
Statistics: Posted by gamingondebian — 2025-01-07 00:19