How to Install Discord on Ubuntu 22.04 LTS
You’ll get Discord up and running on Jammy Jellyfish using the terminal, no GUI wizard required. I’ll walk you through three common ways—Snap, a direct .deb package, and Flatpak—so you can pick the one that fits your workflow.
1. Install via Snap (the quick‑and‑dirty route)
sudo snap install discord
Snap pulls the latest stable build from Canonical’s store and puts it in an isolated sandbox. That means you don’t have to worry about missing libraries, but the package can feel a bit slower to start because of the confinement layer.
Why use Snap? If you just need Discord yesterday and don’t care about fine‑tuning, this one‑liner does the job.
2. Install from Discord’s .deb (the “official” approach)
- Open a terminal and download the current Debian package:
wget -O discord.deb "https://discord.com/api/download?platform=linux&format=deb"
Downloading directly avoids the extra layer that Snap adds.
- Install the package with dpkg:
sudo dpkg -i discord.deb
dpkg copies the files into the system directories, but it won’t resolve missing dependencies automatically.
- Fix any dependency problems:
sudo apt-get install -f
This command tells APT to fetch whatever libraries Discord complained about. I’ve seen this step necessary after a bad driver update that left libgconf-2.so missing; the fix pulls it back in.
Why prefer the .deb? You get the exact version the Discord team ships, and it integrates with your system’s package manager for easier upgrades later.
3. Install via Flatpak (the sandbox‑heavy alternative)
- Make sure Flatpak is installed:
sudo apt install flatpak
Without Flatpak you can’t pull anything from Flathub, the central repository.
- Add the Flathub repo if it isn’t already there:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
This registers the source of most third‑party apps.
- Install Discord from Flathub:
flatpak install flathub com.discordapp.Discord -y
Flatpak bundles all required libraries, so you won’t hit missing‑dependency errors—even on a stripped‑down system.
Why use Flatpak? If you like the extra isolation and want automatic updates without touching APT, this is your ticket. The downside is a larger download and a slightly slower launch time compared with the native .deb.
Which method should you pick?
- Snap – fastest to get going, but adds a layer of confinement you may not need.
- .deb – cleanest integration with Ubuntu’s package system; best for most users.
- Flatpak – perfect if you already run other Flatpak apps and want everything sandboxed.
Give one a try, and Discord will be waiting in your app drawer before you know it.
Enjoy the chats, and may your voice channel never lag!