Quantcast

How to Install Discord on Fedora 36 Linux

Discord is a free voice, video, and text chat app used by tens of 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.

In the following tutorial, you will learn how to install Discord client on Fedora 36 Linux workstation desktop using three different methods of dnf package manager with rpm fusion, the natively installed flatpak manager or installing snapcraft package manager and installing the discord snap as a last resort using the terminal command line.

Update Fedora

First, before you begin the installation, you should update your system to make sure all existing packages are up to date to avoid any conflicts.

sudo dnf upgrade --refresh -y

Install Discord – DNF Method with RPM Fusion

The first option is to install the Nonfree 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

Install Discord – Flatpak Method

The second option is to install Discord with Flatpack, default 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.

Install Discord – Snapcraft Method

The third option is to use the Snap package manager. Fedora users may be familiar with Snap as it is created and maintained by Ubuntu; however, it is not natively installed on your system. However, this can be installed relatively quickly.

By default, the snap package manager is not installed, so you will need to run the following command.

sudo dnf install snapd -y

Next, some packages come in classic, so you need to create a symlink to enable classic snap support, which some packages still require off the Snapcraft repository.

sudo ln -s /var/lib/snapd/snap /snap

Next, to make sure the Snap paths have been generated correctly, you should reboot your PC now, or else you may have issues during your current session installing packages from Snapcraft.

reboot

Next, you need to install the “snap core files” for everything to work correctly. Failure to do this may result in issues down the track.

sudo snap install core

Next, install the Discord package using the snap install command.

sudo snap install discord

How to the Launch Discord Client

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

Alternatively, run the Discord & command to launch the Discord client from the terminal while being able to use the terminal still.

Discord &

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

flatpak run com.discordapp.Discord

Alternatively, Snap installations need to use the following.

sudo snap run discord

However, this is not practical, and you would use the following path on your desktop to open the course.

Activities (top right-hand corner) > Show Applications > Discord.

Example:

How to Install Discord on Fedora 36 Linux

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.

How to Install Discord on Fedora 36 Linux

How to Update/Upgrade Discord

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

Snap Method

sudo snap refresh

How to Remove (Uninstall) Discord

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

Snap Method

sudo snap remove discord

Comments and Conclusion

The tutorial has outlined how to install Discord from a snap, flatpack, or the rpm fusion repository on Fedora 36. However, Snap packages are somewhat unpopular, so the .rpm repository would be the way to go for most users.

Discord is the number 1 gaming platform for online communities for the years to come. However, TeamSpeak self-hosted is making a comeback. The future will determine if Discord can keep its dominance, given these days’ privacy concerns.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!