How to Install Discord on Debian 12?


Discord is a versatile communication platform that offers features for various user needs such as gamers, content creators, professionals, educators, and social interactions. It allows the audience/users to join as well as create communities. In addition, chat with friends, engage in voice and video conversations. As Debian is a secure operating system, therefore, installation of Discord on it gives a scalable, reliable, and safe environment.

By considering its importance, this guide will demonstrate all possible methods to install Discord on Debian 12.

Let’s begin this guide with the installation.

How to Install Discord on Debian 12?

The installation of Discord is somehow an interesting task to communicate with other fellows in business, education, and other organizations. To install Discord on Debian, follow the stated methods:

Let’s start with the first method.

Method 1: Install Discord on Debian 12 Using the .deb File

The installation of Discord with the .deb package is the simplest way to install it on Debian. It installs the most recent (latest Discord) package from the official Discord website in the operating system.

Let’s follow the installation steps of Discord via the official website:

Step 1: Download Discord (.deb Package)

Visit the official Discord website and choose the “.deb” package for Linux. Alternatively, directly download it via the Official link:

Or use the wget command to download the “.deb” file using the terminal:

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

Step 2: Install Discord

Once the download is done, switch to the (particular) directory where you saved the “.deb” package. To install Discord on Debian, use the “dpkg” command with the “i” utility as below:

sudo dpkg -i ./discord-*.deb

Optional: Install Discord Using APT

Users can also install using the apt command by specifying the .deb package as below:

sudo apt install ./discord-*.deb

Step 3: Launch Discord

After the installation, use the “discord” package name to launch in the Debian system:

discord

It downloads relevant dependencies automatically and initializes Discord as below:

Optional: Check Version

To check the installed version, use the “version” utility as below:

discord --version

This method helps avoid potential conflicts during the installation process.

Uninstall Discord

To uninstall Discord, use the “remove” or “r” utility with the help of the “dpkg” command as below:

sudo dpkg -r discord

This section has discussed both the installation as well as uninstallation of Discord on Debian 12.

Method 2: Install Discord on Debian 12 Using the Snap Store

Another way to install Discord on Debian-based distributions including (Debian 12) is using the Snap Store. To install it, follow below:

Step 1: Install Snap

By default, the snap store is not installed/operational in linux distributions. To install it on Debian, specify the “snapd” package with the “apt” command:

sudo apt install snapd

Optional: Install Snap Core

To install snap core on Debian, use the “snap” command by mentioning the “core” utility as below:

sudo snap install core # Additional Utility

Step 2: Install Discord

To install Discord on Debian 12, use the “snap” command by mentioning the “discord” package name:

sudo snap install discord

Step 3: Run Discord Installed

To launch the Discord application using the snap package, specify the “run” utility below:

snap run discord

It downloads relevant dependencies automatically and initializes Discord as below:

Note: If users face the “command could not be located” error, fix it by making the shortcut for exporting the snap to the PATH variable:

export PATH="/snap/bin:$PATH"

Optional: Uninstall Discord

To remove the Discord from Debian 12 (if installed snap), use the “remove” utility by specifying the “discord” package name:

sudo snap remove discord

Note: Some features of Discord may be limited using Snaps. To enable additional features and reduce logging issues, grant access to the system-observe interface via the below command:

snap connect discord:system-observe

This method has installed Discord on Debian 12 using the snap.

Method 3: Install Discord on Debian 12 Using the Tar.gz File

The installation of Debian using a Tar.gz file is quite a complex task. To install it on Debian 12, use the below-mentioned steps:

Step 1: Download Discord’s “tar.gz” File

Download the tar package of Discord from the official website. Then, choose the “tar.gz” format and click the “Download” button:

Step 2: Extract the Discord tar.gz File

After downloading the file, navigate to the specified folder “Downloads” and extract the downloaded tar package:

cd Downloads
sudo tar -xvf discord-0.0.43.tar.gz

Step 3: Launch Discord

Change to the extracted Discord directory, Now, Execute the Discord binary, and run Discord using the package below:

cd /Discord

./Discord

You can log in with your existing Discord account or create a new one:

Optional: Create a Symbolic Link

To run Discord without providing its full path, create a symlink or symbolic between “/usr/bin/Discord” and “Downloads/Discord/Discord”:

cd
sudo ln -sf Downloads/Discord/Discord /usr/bin/Discord

Optional: Launch Discord Using GUI

To add it to “Activities” or to launch it using the GUI interface, follow the below script:

sudo nano Downloads/Discord/discord.desktop

Edit the “Exec” and “Icon” entries by “/usr/bin/Discord” and “Downloads/Discord/discord.png”.

In this way, copy the desktop file of discord to “/usr/share/applications” and create a desktop shortcut:

sudo cp -r Downloads/Discord/discord.desktop /usr/share/applications

In the end, reboot the system for configuration with modified files:

sudo reboot

Optional: Uninstall Discord

To uninstall/remove the Discord (if installed using tar.gz), use the “rm” command by specifying the installation path:

sudo rm Downloads/Discord/Discord
sudo rm /usr/bin/Discord

In this way, the installation of Discord has been done using the “tar.gz” file.

Method 4: Install Discord on Debian 12 Using Flatpak

Another interesting way for the installation of Discord on Debian-based distributions is by using the flatpak. To install Discord using the flatpak (flathub) store, follow the below steps:

Step 1: Install Flatpak

Before installing Discord on Debian, first install the flatpak package manager (if not already installed):

sudo apt install flatpak

Step 2: Enable Flathub Repository

Now, enable the Flathub repository for Discord installation using the “remote-add” utility as below:

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

Step 3: Install Discord Using Flatpak

After that, download as well as install the flatpak package of Discord via the “com.discordapp.Discord” source/server id:

flatpak install flathub com.discordapp.Discord

Step 4: Run Discord

Now, users can launch/run the discord application via the “run” utility:

flatpak run com.discordapp.Discord

After installing updates, launch the discord interface automatically:

Note: Users can also refresh the flatpak package list using the “update” utility as below:

flatpak update

Optional: Uninstall Discord

To uninstall/remove the installed discord using flatpak, use the “uninstall” utility with the “flatpak” command:

flatpak uninstall Discord

In this way, the installation, as well as the uninstallation of Discord have been done using flatpak.

How to Use Discord on Debian 12?

Before using Discord, the user needs to create a new account or sign in via the existing account. As well as change the display name between servers. The basic functionality of Discord is discussed here:

  • Create Account

Choose a username and password for creating an account. For this, fill in the required info., including, username, email address, and password. Finally, hit the “Log in” button:

  • Joining Servers

Servers are invite-only spaces where users can connect with others. They can join existing servers based on their interests or create their own. Once you’re in a server, users can find various channels for text and voice communication.

  • Text Channels

These channels are where users can communicate via messages. They keep conversations organized.

For instance, design/create different channels for various topics, such as gaming, cooking, or book discussions.

  • Voice Channels

It allows users to chat over voice and video. For instance, click on a voice channel to enter it.

  • Customization and Features

Users can customize their profile, notification settings, and more. In addition, explore additional features like creating your emojis, organizing members with roles, and setting up read-only announcement channels.

To explore more about the Discord, go to its official website.

That is all from the guide.

Conclusion

To install Discord on Debian 12, download the .deb file from the Official Discord Website, then install using dpkg or apt command. Alternatively, install Discord using the “snap”, “flatpak”, or “tar.gz” methods. If the user wants to install the latest version without any conflict, use the first method of downloading and installing the “.deb” file. To use the limited usage of Discord, users can go with the Snap and Flatpak methods. This article has given all possible solutions to install Discord on Debian 12.

Print Friendly, PDF & Email
Categories