How to Install Discord on Ubuntu 24.04

Install Discord on Ubuntu 24.04

For Linux users, Discord offers a native application that integrates well with the Ubuntu environment, ensuring a seamless user experience. Installing Discord on Ubuntu 24.04 serves various purposes, catering to different user needs. Primarily, it provides a platform for communication and collaboration, especially popular among gamers for its voice, video, and text chat capabilities. 

This article will explain several methods for installing Discord on Ubuntu 24.04.

How to Install Discord on Ubuntu 24.04?

The installation process is straightforward, with options like Snap or Flatpak packages, or directly downloading the DEB file, making it accessible to users with varying levels of technical expertise. Let’s follow these methods:

Method 1: Using snap 

Method 2: Using Deb File 

Method 3: Using Flatpak 

Method 4: Using a Tar.gz file

Method 5: Using Ubuntu Software Centre

Method 1: Using snap 

If you’re using Ubuntu 24.04 and want to install Discord, the process is straightforward, and you have a couple of options to do so. One of the easiest ways is through the Snap package manager.

Here are step-by-step instructions for installing Discord on Ubuntu 24.04 using Snap:

Step 1: Install Discord 

This method is straightforward and is considered one of the easiest ways to get Discord up and running on your system. Let’s download and install the recent/latest version of Discord from the Snap store:

sudo snap install discord

Note: First, enable Snap support on your system if it’s not already enabled. 

Step 2: Launch Discord 

Now, users can launch Discord from the terminal by typing its name or going to the application menu:

discord

Once Discord is installed, you’ll be able to join servers, connect with friends, and participate in communities that share your interests. 

For more instructions, users can navigate to comprehensive guides available online that cover Snap.

Method 2: Using Deb File 

It’s a platform that allows for voice, video, and text communication, making it a versatile choice for online collaboration. For Ubuntu users, installing Discord can enhance their ability to connect with others in these vibrant communities.

Here’s a step-by-step guide to installing Discord on Ubuntu 24.04 using the Debian package file (.deb).

Step 1: Download the Discord Debian Package

First, download the “.deb” file for Discord. It can be possible via the “wget” command. It fetches the latest version of Discord packaged for Debian-based systems like Ubuntu:

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

Step 2: Install the Downloaded Package

Now, users can install the package via the “apt” command. This command not only installs Discord but also handles any dependencies that may be required:

sudo apt install ./discord.deb

Step 3: Launch Discord

After the installation is done, users can open/launch Discord from the Ubuntu terminal:

discord

Method 3: Using Flatpak 

With its growing popularity, Linux users, particularly those using Ubuntu 24.04, may want to install Discord using Flatpak, a method known for its sandboxing capabilities which enhance security and allow for easy updates.

Flathub is a trusted repository for Flatpak applications, ensuring that you are installing verified and safe software packages. Flatpak is a third-party application distribution system that is not included in Ubuntu by default.

To install Discord using Flatpak, you’ll first need to set up Flatpak on your system. Let’s start the process:

Step 1: Update Your System

Before you begin, it’s always a good practice to update the package list as well as upgrade all the installed packages to their most recent versions:

sudo apt update
sudo apt upgrade

Step 2: Install Flatpak

If Flatpak is not pre-installed on the Ubuntu system, users can install it by running:

sudo apt install flatpak

Step 3: Add the Flathub Repository

While Flatpak is another way for installing applications, that is downloading through sources such as Flathub. For adding to the system, run the below command:

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

Step 4: Install Discord

With Flatpak and Flathub set up, you can now install Discord by running:

flatpak install flathub com.discordapp.Discord

Step 5: Run Discord

Once the installation is done, users can execute Discord using the command:

flatpak run com.discordapp.Discord

By following these steps, you should have Discord up and running on your Ubuntu 24.04 system. 

Method 4: Using a Tar.gz file

This method is particularly useful for those who prefer not to use Snap or Flatpak packages, or when those services are not available.

Here’s a step-by-step guide to installing Discord on Ubuntu 24.04 using a Tar.gz file:

Step 1. Download the Tar.gz File

First, users are required to download the latest version of Discord packaged as a Tar.gz file. They can locate this on the Discord website

Alternatively, use a command-line tool like “wget” to download it directly to the system:

wget https://discord.com/api/download?platform=linux&format=tar.gz

Step 2. Extract the Tar.gz File

Once the file is downloaded, users are required to extract it. It is possible via the tar command. Let’s extract a Tar.gz file by mentioning its name:

cd Downloads
tar -xvzf discord-0.0.53.tar.gz

Step 3: Run the Installation

After unzipping/extracting the files, move to the extracted directory and look for the installation script or executable file. In the case of Discord, users locate/search the file “Discord” or similar. Run this file with the appropriate permissions to start the installation process:

Step 4: Launch Discord

After installation, you can launch Discord from the command line or through your desktop environment’s application launcher:

Note: If the installation script provides any on-screen instructions, follow them to complete the installation. 

For creating the symbolic link of the executable, use the “ln” command with the “s” utility:

sudo ln -s ~/Discord/Discord /usr/bin/discord

It’s important to note that while this method gives you more control over the installation process, it may require additional steps to make sure that Discord updates automatically. Otherwise, you may need to manually.

Discord is also available as a Snap package, which can be installed with a single command, or as a DEB package, which can be installed through the Ubuntu Software Center or with “dpkg”. 

Method 5: Using Ubuntu Software Centre

Ubuntu Noble provides a straightforward process for installing applications through the Ubuntu Software Centre, and Discord is no exception.

Here’s a step-by-step procedure for installing Discord on Ubuntu 24.04 via the Ubuntu Software Centre:

Step 1: Open the Ubuntu Centre

It is the GUI-based package manager in Ubuntu, which allows you to search, install, and manage applications.

Step 2: Search for Discord

Once the Ubuntu Software Centre is open, use the search function to look for Discord:

Step 3: Install Discord

After locating Discord in the Ubuntu Software Centre, users can move forward with the installation by hitting the “Install” button. It requires to input the password for authorizing the installation:

Step 4: Launch Discord

After the installation is done, find Discord in the list of applications. Finally, launch it, register or log in for a new account:

How to Uninstall Discord on Ubuntu 24.04?

Discord’s cross-platform availability means that installing it on Ubuntu allows users to stay connected with others regardless of the operating system they are using.

Uninstalling Discord from Ubuntu 24.04 can be done using various methods, depending on how the application was installed. 

Uninstalling Discord Using Snap

If Discord was installed using Snap, it can be removed by opening the terminal and entering the below command:

sudo snap remove discord 

Uninstalling Discord Using Flatpak

For those who have installed Discord using Flatpak, the uninstallation command is: 

sudo flatpak uninstall discord

If you ever need to uninstall Discord, you can do so with the following command:   

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

Uninstalling Discord Using APT

Additionally, if Discord was installed via the package manager, the command be used as below:

sudo apt autoremove discord
sudo rm discord.deb    # For Removing  the .deb Package File

To remove Discord from Ubuntu, open Ubuntu Software Center and hit the “Uninstall” button after searching the “Discord” application:

With Discord installed, you can join servers, participate in voice and text chats, and enjoy the full range of features that Discord offers.

Conclusion

For installing Discord on Ubuntu 24.04, users can utilize Snap for a simple installation by executing the “sudo snap install discord” command. To install Discord on Ubuntu, users can also use Deb File, Flatpak, and Tar.gz file methods. 

The easiest way is to install it through the Software Center, where users search for Discord and click the “Install” button. For those who prefer manual installation, download the DEB package from Discord’s official website and install it using your software manager. Enjoy connecting with your community, friends, and colleagues through this versatile platform.