TranslateProject/sources/tech/20211120 How to Install Discord on Fedora Linux.md
DarkSun 8717164e4d 选题[tech]: 20211120 How to Install Discord on Fedora Linux
sources/tech/20211120 How to Install Discord on Fedora Linux.md
2021-11-20 05:02:38 +08:00

4.1 KiB
Raw Blame History

How to Install Discord on Fedora Linux

Discord is a popular messaging application, which can be used for text and voice messaging.

It is a boon to several communities, which helps them to expand their projects, reach out to more people, and maintain a community of fans and followers. Its surprising considering that Discord was originally meant for gamers.

Discord is available for various platforms, including Linux. In this tutorial, Ill walk you through the steps for installing Discord in Fedora.

  • Installing Discord using DNF and RPM Fusion Repository
  • Installing Discord via Flatpak

The Flatpak packages are sandboxed and hence take more disk space and time to start. However, they get updated for newer version releases fairly quickly.

The choice is really yours if you want to use Flatpak or DNF. Ill show both methods to you.

Non-FOSS alert!

Discord application is not open source. But since they provide a Linux client and many Linux users rely on it, its been covered here.

Method 1: Installing Discord via RPM Fusion Repository

Discord can be installed by adding the nonfree RPM Fusion repository, which is the preferred method of most Fedora users, since updating is easy and the application starts up faster than the Flatpak version.

Open a terminal and use the following command to add the RPM-fusion non-free repository:


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

Once youre done with it, update the repository list (should not be needed but just for the sake of it):


    sudo dnf update

Then install Discord via DNF command like this:


    sudo dnf install discord

Installing Discord using DNF

If asked for importing a GPG key, just authorize it by pressing Y

Authorize GPG key

That is it! Now you can launch Discord from the app menu. Your login screen will look like this:

Launch Discord application

Remove Discord via DNF

If you dont want to use Discord anymore, you can remove it from your system. To do that, run the following command in the terminal:


    sudo dnf remove discord

Its really simple, isnt it? There is another simple way of installing Discord and that is to use Flatpak packages.

Method 1: Installing Discord via Flatpak

Discord can be installed easily using Flatpak since it is available by default in Fedora.

First, you need to enable Flatpak repository in Fedora:


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

Next, install Discord via this command:


    flatpak install discord

Install Discord via Flatpak

If you want to remove Discord, then just run:


    flatpak remove discord

Thats super easy. Let me know if you need any more help for installing Discord on Fedora Linux.


via: https://itsfoss.com/install-discord-fedora/

作者:Pranav Krishna 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出