How to Install Discord on Ubuntu 22.04 LTS

Discord is a free voice, video, and text chat app used by tens of millions of people ages 13+ to talk and hang out with their communities and friends. Users communicate with voice calls, video calls, text messaging, media, and files in private chats or as part of communities called “servers.” Discord is available on Windows, macOS, and Linux Distros.

In the following tutorial, you will learn how to install Discord client on Ubuntu 22.04 LTS Jammy Jellyfish using three different methods.

Advertisement

Prerequisites

  • Recommended OS: Ubuntu 22.04 Desktop or Server.
  • User account: A user account with sudo or root access.
  • Internet Connection

Update Operating System

Update your Ubuntu operating system to make sure all existing packages are up to date:

sudo apt update && sudo apt upgrade -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@ubuntu ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on How to Add a User to Sudoers on Ubuntu.

To use the root account, use the following command with the root password to log in.

su

The tutorial will utilize the terminal interface, which can be found in the show applications menu.

Example:

How to Install Discord on Ubuntu 22.04 LTS

Option 1. Install Discord Snap

The first method to install Discord is to use Snap which is included in the Linux distribution package manager, and this comes pre-installed on Ubuntu systems by default.

For users that removed Snap, to re-install using the following command.

sudo apt install snapd

Next, enable the snapd service.

systemctl enable snapd --now

Now proceed to install Discord with Snapcraft using the following command.

sudo snap install discord

Example output:

discord 0.0.16 from Snapcrafters installed

To remove (uninstall) Discord in the future with Snap, use the following command:

sudo snap remove discord

Example output:

discord removed
Advertisement

Option 2. Install Discord .deb package

The second option is to install Discord with the Debian package using the wget command. Before you proceed, visit the Discord download page to grab the latest link if the one below has changed.

wget https://dl.discordapp.net/apps/linux/0.0.16/discord-0.0.16.deb

Once you have completed the download, proceed to install the .deb package.

sudo apt install ./discord-0.0.16.deb

Example output:

How to Install Discord on Ubuntu 22.04 LTS

Type Y, then press ENTER KEY to proceed with the installation.

Next, verify the installation was successful by running the apt-cache policy command:

sudo apt-cache policy discord

Example output:

How to Install Discord on Ubuntu 22.04 LTS

To remove Discord, you can use the APT remove command.

sudo apt autoremove discord --purge
Advertisement

Option 3. Install Discord with Flatpak

The third choice is to use the popular package manager Flatpak. Users who have used other Linux distributions such as Fedora, Linux Mint, or Pop!_OS, to mention a few, would be familiar with Flatpak packages as they feature on more operating systems.

Ubuntu does not install Flatpak by default, given they are behind Snapcraft. However, the Ubuntu team include it in their default repository to install.

First, install Flatpak using the following command.

sudo apt install flatpak -y

The next step is to reboot your system. Failure to do this will not to all the paths being generated by Flatpak. While you are in the terminal, use the following command.

sudo reboot

Next, you need to enable Flatpack using the following command in your terminal:

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

Now begin the installation using the following flatpak command.

flatpak install flathub com.discordapp.Discord

Example output:

How to Install Discord on Ubuntu 22.04 LTS

Type Y Twice, then press the ENTER KEY Twice to install.

Flatpak should auto-update packages roughly 10 minutes into a new desktop session by default. However, if you need to update manually, use the following command.

flatpak update

To remove the Flatpack version of Discord, run the following command:

flatpak uninstall --delete-data com.discordapp.Discord

Example output:

How to Install Discord on Ubuntu 22.04 LTS

Type Y and then ENTER KEY to remove using the Flatpak method.

Note, you will be prompted twice to Type Y or N. The second option removes all data for complete removal.

How to the Launch Discord Client

With the install complete from either installation method, you can run Discord in a few different ways.

First, while you are in your terminal, you can use the following command:

discord

Alternatively, run the discord & command in the background to free up the terminal:

discord &

Alternatively, Flatpak users will need to launch using the command below from a terminal instance:

flatpak run com.discordapp.Discord

However, this isn’t practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Discord.

Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.

Example:

How to Install Discord on Ubuntu 22.04 LTS

Now open Discord, you will come to the login page, either create an account or use an existing account, and that’s it; you have successfully installed Discord on Ubuntu 22.04 LTS Jammy Jellyfish.

How to Install Discord on Ubuntu 22.04 LTS

Comments and Conclusion

The tutorial has outlined how to install Discord using snapcraft, flatpak, or the download .deb package. A bonus is if you want multiple discord clients, installing these various methods means you can technically have more clients running at once since they exist in separate containers.

Discord is and will be the number 1 gaming platform for online communities for the years to come as it’s cemented itself by working with major gaming companies and e-sports. However, TeamSpeak self-hosted is making a comeback. The future will determine if Discord can keep its dominance, given these days’ privacy concerns.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
adplus-dvertising
0
Would love your thoughts, please comment.x
()
x