How to Install Discord on Ubuntu 24.04

Anastasios Antoniadis

Discord is a popular communication platform used by gamers, developers, and communities worldwide. If you’re using Ubuntu 24.04 and want to install Discord, this guide will walk you through different installation methods, including using the Snap package, the Deb package, and the Flatpak method.

Method 1: Installing Discord via Snap (Recommended)

Snap is a universal package management system that makes it easy to install and update software. Ubuntu 24.04 comes with Snap pre-installed, making this the easiest method.

Steps:

Open a terminal by pressing Ctrl + Alt + T.

Update your package list (optional but recommended):

sudo apt update && sudo apt upgrade -y

Install Discord using Snap:

sudo snap install discord

Once installed, you can launch Discord by searching for it in the applications menu or running:

discord

Method 2: Installing Discord via .deb Package

If you prefer installing Discord manually, you can download the .deb package from Discord’s official website and install it using dpkg.

Steps:

Download the latest Discord .deb package:

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

Install the package using dpkg:

sudo dpkg -i ~/discord.deb

Fix any missing dependencies:

sudo apt --fix-broken install

Launch Discord from the applications menu or by running:

discord

Method 3: Installing Discord via Flatpak

Flatpak is another universal package manager that allows applications to run in a sandboxed environment.

Steps:

Install Flatpak if it’s not already installed:

sudo apt install flatpak -y

Add the Flathub repository (required for installing apps via Flatpak):

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

Install Discord:

flatpak install flathub com.discordapp.Discord

Launch Discord with:

flatpak run com.discordapp.Discord

Updating Discord

For Snap:

Discord installed via Snap updates automatically. However, you can manually check for updates using:

sudo snap refresh discord

For .deb Package:

When a new version is released, you’ll need to download and install the new .deb file manually.

For Flatpak:

To update Discord via Flatpak, use:

flatpak update com.discordapp.Discord

Uninstalling Discord

Remove Discord installed via Snap:

sudo snap remove discord

Remove Discord installed via .deb:

sudo apt remove --purge discord

Remove Discord installed via Flatpak:

flatpak uninstall com.discordapp.Discord

Conclusion

Installing Discord on Ubuntu 24.04 is straightforward with multiple methods available. The Snap package is the easiest and most recommended way since it keeps Discord automatically updated. The .deb package offers manual control, while Flatpak provides a sandboxed alternative. Choose the method that best suits your needs and start using Discord for seamless communication!

Anastasios Antoniadis
Find me on

Leave a Comment