Guides 11792 Published by

This article walks through three terminal‑based ways to get Discord running on Ubuntu 22.04: a Snap install (sudo snap install discord), downloading and installing the official .deb package with wget, dpkg -i, and fixing dependencies via apt-get install -f, and pulling the Flatpak from Flathub after setting up Flatpak support (sudo apt install flatpak → flatpak remote-add … → flatpak install flathub com.discordapp.Discord). It explains the trade‑offs of each method—Snap is the quickest but runs in a sandbox; the .deb gives native integration and easier APT upgrades; Flatpak offers strong isolation and bundled libraries at the cost of larger downloads and slightly slower startup. The guide also notes how to resolve common dependency issues (e.g., missing libgconf-2.so) when using the .deb approach. Finally, it helps you choose the best option for your workflow before launching Discord from the application menu.



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)

  1. 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.

  1. 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.

  1. 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)

  1. Make sure Flatpak is installed:
sudo apt install flatpak

Without Flatpak you can’t pull anything from Flathub, the central repository.

  1. 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.

  1. 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!