Install Discord on Fedora Linux: Easy Step-by-Step Guide

logo discord

Discord has become the go-to app for gamers, online communities, and even work teams. If you’re a Fedora Linux user, you’re in luck! Installing Discord on Fedora is a breeze. Follow this comprehensive guide to get started:

This is the recommended method due to its simplicity and ease of updating Discord.

  • Enable the RPM Fusion Repository:
    Open your terminal and enter the following command:
    bash
    sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  • Install Discord:
    Once RPM Fusion is enabled, simply install Discord with this command:
    bash
    sudo dnf install discord
  • You’re done! Discord is ready to use. Find it in your applications menu or type discord in the terminal.

Method 2: Using Flatpak (The Modern Approach)

Flatpak is a modern packaging system that provides better application isolation and security.

  • Make sure Flatpak is installed. If not, install it with:
    bash
    sudo dnf install flatpak
  • Add the Flathub repository: This is the source for Flatpak applications.
    bash
    flatpak remote-add –if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  • Install Discord:
    bash
    flatpak install flathub com.discordapp.Discord
  • Run Discord: Find it in your applications menu or type “flatpak run com.discordapp.Discord” in the terminal.

Method 3: Using Snap (Simple and Convenient)

Snap is similar to Flatpak but is maintained by Canonical (the developers of Ubuntu).

  • Ensure snapd is installed. If not, install it using:
    bash
    sudo dnf install snapd
  • Enable the snapd socket:
    bash
    sudo systemctl enable –now snapd.socket
  • Install Discord:
    bash
    sudo snap install discord
  • Run Discord: Find it in your applications menu.

Method 4: Using tar.gz (Hard and Exciting)

  • Update Your System Before installing new applications, it’s highly recommended to update your system to ensure all packages and repositories are up to date. Open your terminal and run the following command:
    bash
    sudo dnf update
  • Install Dependencies Discord requires some dependencies to function properly. Make sure you have libXss, libappindicator, and Gconf installed by running the following command:
    bash
    sudo dnf install libXss libappindicator-gtk3 GConf2
  • Download Discord
    You can download it from the official discord website.
  • Extract the File Once the download is complete, extract the .tar.gz file you downloaded with the following command:
    bash
    cd Downloads

    bash
    tar -xvzf discord.tar.gz
    This will create a folder named Discord in your current directory.
  • Move the Discord folder to the /opt directory
    bash
    sudo mv Discord /opt
  • Create symbolic link This allows you to run Discord from a terminal anywhere.
    bash
    sudo ln -sf /opt/Discord/Discord /usr/bin/Discord
  • Create desktop shortcut
    bash
    sudo nano /usr/share/applications/discord.desktop
    Fill the file with the following code:
    nano
    [Desktop Entry]
    Name=Discord
    Comment=All-in-one voice and text chat for gamers
    Exec=/usr/bin/Discord
    Icon=/opt/Discord/discord.png
    Terminal=false
    Type=Application
    Categories=Network;InstantMessaging;
    
    Save file: Ctrl + X, then Y, then Enter.

You can run Discord from the terminal with the Discord command, or search for “Discord” in the application menu.

discord fedora
discord on fedora

Notes:

  • Make sure you have a stable internet connection during installation.
  • If you encounter any problems, try restarting your computer.

See? It’s super easy! Now you can enjoy Discord on your Fedora system and chat with your friends. Happy chatting!

Tirsasaki
Tirsasaki

I’m a Linux enthusiast who loves sharing knowledge about technology and open-source software. As a writer for Conslinux.com, I create easy-to-follow tutorials, tips for troubleshooting, and helpful guides to make your computing experience better. I enjoy exploring different Linux distributions and am excited to share my insights with the community!

Articles: 215

Leave a Reply

Your email address will not be published. Required fields are marked *