How to Install Discord on Debian 12, 11 or 10

Discord is a versatile platform catering to a diverse user base in the ever-evolving digital communication landscape. Whether you’re a gamer, educator, professional, or just someone looking for a reliable chat application, Discord has features tailored for you.

Some popular key features of Discord:

  • For Gamers: Discord enhances the gaming experience with in-game overlays and real-time status displays, making it an indispensable tool for avid gamers.
  • Educational Use: With features like screen sharing and dedicated voice channels, Discord becomes a valuable resource for online classes and collaborative study sessions.
  • Business Communication: Discord’s structured channels facilitate organized and efficient discussions, making it suitable for professional teams and organizations.
  • Engaging Content Creators: Discord offers influencers a dedicated space to interact with their followers, fostering a closer community bond.
  • Social Interaction: Beyond its professional uses, Discord is perfect for casual conversations, media exchanges, and voice and video chats with friends and family.
  • Integrated Experience: With seamless integrations, including Spotify and YouTube, users can enjoy a multimedia-rich communication environment.
  • Safety First: Discord prioritizes user security with features like two-factor authentication, ensuring a safe and secure platform for all its users.

As we delve deeper into this guide, you’ll learn multiple methods for installing Discord on your Debian system, setting you up for a seamless communication experience.

Method 1: Install Discord via .deb Package

Update Debian Packages Before Discord Installation

To ensure the smooth installation of Discord, the first step involves updating your Debian system packages. This is an essential preliminary step as it helps to avoid potential conflicts during the Discord installation process.

We accomplish this by executing the following command in the terminal:

sudo apt update

This command retrieves information about new updates, ensuring your package lists are current.

Next, we’ll upgrade any outdated packages on your Debian system with the following command:

sudo apt upgrade

Download Discord .deb package

Next, fetch the Discord .deb package directly from Discord’s official site using the wget command. This utility downloads files from the internet. The -O option lets you specify the output file name. Use this command:

wget "https://discord.com/api/download?platform=linux&format=deb" -O discord.deb

Upon executing this command, the latest version of the Discord .deb package is downloaded and saved as discord.deb in your current working directory.

Install Discord via APT Command

With the Discord .deb package downloaded, the next step is to install it. This is accomplished using the apt install command, as follows:

sudo apt install ./discord.deb

In this command, the . represents the current directory, and /discord.deb is the path to the downloaded file. By running this command, you will install Discord on your Debian system.

Method 2: Install Discord via Flatpak and Flathub

The alternative method to installing Discord on your Debian system is to utilize the Flatpak package manager in combination with Flathub, an app store, and build service for Linux. Unlike some other Linux distributions, Debian doesn’t come with Flatpak preinstalled. This section will guide you through installing the Flatpak manager, enabling Flathub, and installing Discord.

Install Flatpak on Debian (Situational)

To use this installation method, you need to have Flatpak installed on your Debian system. If you don’t have Flatpak, install it first with the following command:

sudo apt install flatpak -y

Note: It is highly advised that you reboot your system on the first installation of Flatpak to avoid issues.

Enabling Flathub for Discord Installation

After installing Flatpak, your next task is to enable Flathub. Flathub serves as a repository for various Linux applications, including Discord. When you enable Flathub, you make these applications accessible for installation via Flatpak.

To activate Flathub, run this command in your terminal:

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

Finalize Discord Installation via Flatpak Command

Now that you have enabled Flathub, you can install Discord using Flatpak. Run the following command to do so:

flatpak install flathub com.discordapp.Discord -y

This command requests Flatpak to install the Discord application from the Flathub repository. The -y option is used to automatically answer ‘yes’ to all prompts, allowing the installation to proceed without further user interaction.

Initiating Discord

After you’ve installed Discord using one of the two methods we presented above, you can now launch and use Discord on your Debian system. We’ll guide you through the various ways to do this.

CLI Commands to Launch Discord

Launching Discord is as straightforward as typing a single command if you’re already working in the terminal.

For the .deb installation, you can use the following command:

discord

This command searches for the Discord executable in the system’s PATH and runs it.

If you installed Discord using Flatpak, the command changes slightly:

flatpak run com.discordapp.Discord

This command tells Flatpak to run the Discord application that we installed earlier.

GUI Method to Launch Discord

Launching Discord directly from your desktop environment is a breeze for those who prefer a GUI-based approach. Here are the steps to achieve this:

  1. Click on the Activities option, usually found in the top left corner of your screen.
  2. From the Activities overview, select the Show Applications icon. This is typically represented by a grid of dots at the bottom of your screen.
  3. In the Show Applications menu, look for Discord among your installed applications. The icon should be visible in the grid of applications.
  4. If the icon isn’t immediately visible, don’t worry! Utilize the Search function at the top of the Show Applications menu. Type ‘Discord’ into the search bar, and the system will highlight the Discord application for you.
Discord installation and sign-in on Debian
Successful Discord installation and sign-in on Debian Linux

Managing Discord Installation

Updating Discord

Discord typically rolls out in-app update notifications. However, there might be times when these notifications fail to appear. In such instances, it’s prudent for you, as a Debian Linux user, to manually check for these updates via the terminal. This practice ensures that your Discord application remains up-to-date and functions optimally.

Method 1: Discord APT Update Method

Discord automatically handles in-app updates. For binary updates, the Discord client prompts you to act. To upgrade and maintain an updated Discord client, you must follow the APT manual process again outlined in Method 1 of this guide.

Method 2: Discord Flatpak Update Method

The update process differs slightly if you’ve installed Discord using the Flatpak method. The Flatpak package manager has a straightforward command for updating your applications:

flatpak update

This command checks for updates across all installed Flatpak applications, including Discord.

Removing Discord

There may come a time when you no longer need the Discord application on your Debian system. Knowing how to uninstall the software according to the original installation method becomes crucial.

Method 1: Discord APT Uninstall Method

If you installed Discord using the APT method, use the following command to remove it:

sudo apt remove discord

Method 2: Discord Flatpak Uninstall Method

If you used the Flatpak method for installation, the uninstallation command will be slightly different. The following command will effectively remove Discord:

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

This command removes the Discord application and associated data from your Debian Linux system.

Conclusion

You can easily install and manage Discord on your Debian Linux system. You can install, update, or uninstall the Discord application using the APT or Flatpak package managers. This guide gives you all the steps to effectively maintain Discord on your Debian system so you can keep connecting with your community, no matter what changes arise.

Useful Links

Here are some valuable links related to using Discord:

  • Discord Official Website: Visit the official Discord website for information about the platform, features, and download options.
  • Discord Support: Access Discord’s support page for help articles, FAQs, and troubleshooting guides.
  • Discord Safety Center: Explore the Safety Center for information on staying safe and secure while using Discord.
  • Discord Developer Documentation: The developer documentation provides information on creating bots, integrating with Discord, and using the API.
Joshua James
Follow me