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:
Method 1: Using the RPM Fusion Repository (Highly Recommended!)
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:bashsudo 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:bashsudo 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
, andGconf
installed by running the following command:bashsudo 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
bashThis will create a folder namedtar -xvzf discord.tar.gz
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
bashFill the file with the following code:
sudo nano /usr/share/applications/discord.desktop
nanoSave file: Ctrl + X, then Y, then Enter.[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;
You can run Discord from the terminal with the Discord command, or search for “Discord” in the application menu.
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!