How to Install Discord on Fedora 37/36/35

Discord is a free voice, video, and text chat app used by millions of people ages 13+ to talk and hang out with their communities and friends. Users communicate with voice calls, video calls, text messaging, media, and files in private chats or as part of communities called “servers.” Discord is available on Windows, macOS, and Linux Distros. Fedora is one of the many Linux Distros that Discord is compatible with; the only downside is that a natural RPM download is unavailable, leaving most to install the client using third-party repositories.

In the following tutorial, you will learn how to install Discord on Fedora 37/36/35 desktop using two different methods with RPM Fusion or the natively installed flatpak manager and using the Flathub repo, which, given Discord’s popularity, will always have the most up-to-date binary.

Recommended Steps Before Installation

Before you continue, your system is advised to ensure all existing packages are up to date to avoid system conflicts.

sudo dnf upgrade --refresh -y

#1st Method – Install Discord – RPM Fusion

The first option is to install the Non-free repository from RPM Fusion to install Discord. Most Fedora users prefer to use this repository over installing other non-DNF third-party repositories.

Install/Enable the Free Repository

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

Install/Enable the Non-Free Repository (Required)

sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Next, install Discord using the following command:



sudo dnf install discord -y

#2nd Method – Install Discord – Flatpak/Flathub

The second option is to install Discord with Flatpack which should be installed on your Fedora system. This method is quite popular as well with Fedora users.

First, you need to enable Flatpack for Fedora using the following command in your terminal:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Next, install Discord using Flatpack as follows:

flatpak install flathub com.discordapp.Discord -y

If the above command does not work and you receive the “error: Unable to load summary from remote flathub: Can’t fetch summary from disabled remote ‘flathub,” use the following command.

flatpak remote-modify --enable flathub

This will fix the issue.

Launch Discord on Fedora Linux

With the installation complete from either installation method, you can run Discord in a few different ways.



First, while you are in your terminal, you can use the following command:

Discord

Flatpak users will need to launch using the command below from a terminal instance.

flatpak run com.discordapp.Discord

Not every user will have a terminal open; most may not even use the command line terminal, so to launch the client using the application icon, use the following path.

Activities > Show Applications > Discord.

Example:

launch discord on fedora 37/36/35 from the application menu.

Now open Discord, and you will come to the login page, either create an account or use an existing account, and that’s it; you have successfully installed Discord on your Fedora desktop.



Example:

login to discord on fedora 37/36/35

Update Discord on Fedora Linux

Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless use one of the following commands to check for updates.

DNF Method (RPM Fusion)

sudo dnf update --refresh

Flatpak Method

flatpak update

Remove Discord on Fedora Linux

Use one of the following commands to suit the original installation method for users who no longer require the application.

DNF Remove Method

sudo dnf autoremove discord -y

Flatpak Remove Method

flatpak remove  --delete-data com.discordapp.Discord -y

Next, run the following command for any leftover clean-ups required.

flatpak remove --unused


Not what you were looking for? Try searching for additional tutorials.

5 thoughts on “How to Install Discord on Fedora 37/36/35”

  1. "sudo dnf update && sudo dnf upgrade -y
    

    Dnf isn’t like apt, “update” and “upgrade” mean the same thing. On Fedora the repository info is refreshed according to settings in the /etc/dnf/dnf.conf file. The alias “update” is deprecated and will be removed in a future version. If you want to force an immediate repo data refresh use the –refresh option, as in “sudo dnf upgrade -y –refresh” which is the correct Fedora command for what you were trying to do.

    Reply
  2. Cannot install the RPMs for both Skype and Discord at the same time (Fedora 34) as there is a clash between the two with /usr/lib/.build-id/34/feaa549462e8818baa0629ce11da344465882b. But why are these two packages even USING the same build-ID in the first place?

    Reply
    • Hi jelabarre,

      They both use the same chrome-sandbox build-id, silly I know but yeah it’s been reported as per the link below, basically, someone got lazy somewhere copying the same build info.

      I haven’t tested it yet, but you could try doing installing it with

      rpm –force

      or

      rpm —-excludepath=/usr/lib/.build-id/

      Taken from:

      https://forums.fedoraforum.org/showthread.php?327593-Cannot-install-skypeforlinux-and-discord-for-package-manager-conflict/page2

      I will try and get a 34 version going in the next day or so, but the worse case you may need to run one application RPM, another with Flatpak or something. What a silly issue I must admit.

      Reply
      • Yep, after my message above I found the “excludepath” parameter. I figured I needed both applications on my daughter’s desktop system (while on an unscheduled week home from school).

        Reply

Leave a Comment