How to Install Discord on Ubuntu 24.04, 22.04 or 20.04

Discord has revolutionized how we connect online, especially within gaming communities, by providing a comprehensive voice, video, and text communication platform. It stands out for its ease of use, flexibility, and rich feature set, making it the go-to choice for gamers, developers, and even educational groups. Its ability to create and manage private servers allows users to build closely-knit communities with fine-tuned control over channels and permissions.

Here are some key aspects that make Discord a preferred platform:

  • Real-time communication: Offers instant messaging, voice calls, and video chats.
  • Customizable servers and channels: Users can create servers for different purposes and organize channels under them.
  • Rich media support: Share images, videos, links, and more directly within chats.
  • Cross-platform compatibility: Available on Windows, macOS, Linux, iOS, and Android.
  • Robust security features: Includes two-factor authentication and various privacy controls.
  • Integration capabilities: Connect with other services and platforms, enhancing its utility.
  • User-friendly interface: Designed for ease of use, with a clean and intuitive layout.
  • Free to use: While premium options exist, the core features are accessible without cost.

With its versatile functionality, Discord is more than just a tool for gamers. It is a comprehensive platform for anyone looking to foster community or streamline communication in a group setting. Now, let’s move on to the technical part of installing Discord on your Ubuntu system.

Method 1: Install Discord via .deb

This section will explore an alternative method for installing Discord on your Ubuntu system: using the APT package manager. This method involves downloading Discord as a Debian package and installing it using the wget command. We will guide you through each step to ensure a seamless installation process.

Download the Discord .deb for Ubuntu

With the terminal open, enter the following command to download the latest version of Discord as a Debian package:

wget "" -O discord.deb

This command utilizes the wget tool to download the Discord Debian package from the official Discord API. The -O discord.deb flag specifies the output file name, saving the downloaded package as “discord.deb”.

Install Discord via .deb package

Once the download is complete, install the Discord Debian package using the following command:

sudo apt install ./discord.deb -y

This command instructs the APT package manager to install the downloaded “discord.deb” file. The sudo prefix grants administrative privileges, while the -y flag automatically confirms any prompts that may appear during the installation process.

Method 2: Install Discord via Snap

In this next section, we’ll discuss installing Discord using Snapcraft, a popular package management system for Linux distributions. This method is often the easiest and quickest way to install packages on Ubuntu systems.

Install Discord using the snap command

With the terminal open, enter the following command to install Discord using Snapcraft:

sudo snap install discord

This command instructs Snapcraft to download and install the latest version of Discord on your Ubuntu system. The sudo prefix grants administrative privileges, ensuring that the command can perform the necessary system changes.

Method 2: Install Discord via Flatpak and Flathub

Flatpak is an innovative package management system that provides a secure, sandboxed application environment. It enables you to install and operate applications in isolation from other apps and system libraries. In this section, we’ll walk you through installing Discord with the help of Flatpak and the Flathub repository.

Note: If your system does not have Flatpak installed, please refer to the guide “How to Install Flatpak on Ubuntu” for step-by-step instructions on installing the most recent supported version of Flatpak.

Integrate the Flathub Repository for Discord

Before installing Discord via Flatpak, you must incorporate the Flathub repository containing the Discord package. To do so, open the terminal and input the following command:

sudo flatpak remote-add --if-not-exists flathub

This command integrates the Flathub repository into your system, ensuring you can access the Discord package available on Flathub.

Install Discord via Flatpak Command

Once the Flathub repository is integrated into your system, you can install Discord. Execute the following command in the terminal to begin the installation:

flatpak install flathub com.discordapp.Discord -y

This command instructs Flatpak to install Discord from the Flathub repository. The -y flag automatically confirms any prompts that may appear during the installation process.

Launch Discord via GUI or CLI methods

CLI Methods to Launch Discord

You can launch Discord directly from the terminal by entering the appropriate command based on your installation method:

flatpak run com.discordapp.Discord
snap run discord

GUI Method to Launch Discord

While launching Discord from the terminal is an option, it might not be the most practical choice for everyday use. Instead, you can launch Discord directly from your desktop environment:

  1. Open the Activities menu.
  2. Click on Show Applications.
  3. Locate and click on the Discord icon.

Additional Discord Commands

Update Discord

Discord will generally handle in-client updates automatically. However, it’s a good practice to manually check for updates periodically, especially if you experience any issues with the application. Use the following commands to check for updates based on your installation method:

.deb Discord Update Method

Discord handles in-client updates automatically. For binary upgrades, Discord will prompt you when an update is available. To upgrade, re-follow the APT manual method.

Flatpak Discord Update Method

To update Discord installed via Flatpak, run the following command:

flatpak update

Snap Discord Update Method

For Discord installed using Snap, use this command:

sudo snap refresh

Remove Discord

If you no longer require Discord on your Ubuntu system, you can uninstall it using the appropriate command based on your original installation method:

.deb Discord Remove Method

To remove Discord installed via APT, run the following command:

sudo apt remove discord

Flatpak Discord Remove Method

For Discord installed using Flatpak, use this command:

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

Snap Discord Remove Method

To remove Discord installed with Snap, execute the following command:

sudo snap remove --purge discord


In this guide, we’ve walked through the steps to install Discord on Ubuntu, covering methods like the manual installation of the .deb package and using Snap or Flatpak. Our final recommendation is to dive in and explore the features and communities Discord offers. Don’t hesitate to tweak settings to match your needs, and remember, the Discord community is vast and supportive, making it easy to find help or friends.

Joshua James
Follow me
Latest posts by Joshua James (see all)