How to Install Discord on Linux Mint 21 or 20


Discord is a popular communication platform designed for gamers, but it has since become widely used for various purposes, including business, education, and personal communication. It allows users to create and join servers where they can communicate with others through text, voice, and video. Discord can be accessed through a web browser or a dedicated client application on Windows, Mac, Linux, and mobile devices.

Integrating Discord into your daily Linux Mint desktop can bring many benefits, including:

  • Improved communication and collaboration with friends, family, and colleagues.
  • The ability to join and participate in communities and groups with shared interests.
  • The ability to host and join virtual events, meetings, and classes.
  • Support for multiple channels, including text, voice, and video, makes it easy to switch between different forms of communication.
  • The ability to share files and media, including images, videos, and documents.
  • Built-in support for screen sharing and remote control, making it easy to collaborate on projects and provide help.
  • The ability to customize the appearance and functionality of your server with bots and plugins.
  • Automatic syncing across devices and platforms allows you to access your chats, contacts, and settings from any device.

Features:

  • Create and join servers
  • Text, voice, and video communication
  • Multiple channels
  • File and media sharing
  • Screen sharing and remote control
  • Customizable with bots and plugins
  • Automatic syncing across devices
  • Available on Windows, Mac, Linux, and mobile devices
  • Web browser support.

In this tutorial, we will guide you through installing Discord on Linux Mint 21 or Linux Mint 20 using two different methods, both involving using the command line terminal.

Step 1: Update Linux Mint

First, update your system to ensure all existing packages are up to date to avoid any conflicts during the installation.

sudo apt update

Optionally, you can list the updates for users who require review or are curious.

apt list --upgradable

Proceed to upgrade any outdated packages using the following command.

sudo apt upgrade

Step 2: Install Discord

Method 1: Install Discord with Debian Package

The first option is to install Discord with the Debian package using the wget command. The following command should always download the latest version available.

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

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

sudo apt install ./discord.deb -y

Method 2: Install Discord with Flatpak and Flathub

The second option is to use the Flatpak package manager. This comes installed on Linux Mint unless you remove it.

First, re-install Flatpak if you have removed the package manager previously. Remember, this should already be installed on your system.

sudo apt install flatpak -y

For users re-installing Flatpak, it is often recommended to reboot your system. Failure to do this can occur in odd issues, such as wrong icon paths.

reboot

SKIP THE REBOOT IF FLATPAK IS INSTALLED.

Next, you must enable Flathub using the following command in your terminal, which is done with the following command.

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 -y

Troubleshoot Discord Flatpak Installation

First, the most common error when installing a Flatpak from Flathub is the following error output.

"error: Unable to load summary from remote flathub: Can't fetch summary from disabled remote 'flathub,"

The fix is simple, run the following command to enable Flathub.

flatpak remote-modify --enable flathub

This will fix the issue the above issue. The next issue can be access to system files. I would only recommend using the following command if you have access permission with your installation accessing files; use the override command below.

sudo flatpak override com.discordapp.Discord --filesystem=host

Please do not use this command by default unless it is needed.

See also
How to Install AnyDesk on Rocky Linux EL9 or EL8

Step 3: Launch Discord Client

With the installation complete from one of the installation methods, you can run Discord immediately from your terminal.

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

discord

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.

Taskbar > Internet > Discord.

Example:

Now open Discord, and you will notice various updates will download and install the first time you open it; these will continue on the odd occasion.

Example:

and you will come to the login page, either create an account or use an existing one; you have successfully installed Discord on your desktop.

Example:

Additional Commands & Tips

How to Update Discord

Updates should appear in notifications, but if these fail to show sometimes, it is recommended to check using the terminal regardless of the following commands to check for updates.

Discord APT Update Method

For in-client updates will be handled automatically by Discord. Binary upgrades, you will be prompted to do this by your Discord client, re-follow the APT manual method, and upgrade.

Discord Flatpak Update Method

flatpak update

How to Remove (Uninstall) Discord

Use one of the following commands to suit the original installation method for users who no longer require the application.

Discord APT Remove Method

sudo apt autoremove discord --purge -y

Discord Flatpak Remove Method

flatpak remove  --delete-data com.discordapp.Discord -y

Next, run the following command for any leftover clean-ups required, similar to the autoremove command described for the apt remove example command.

flatpak remove --unused

Conclusion

Installing Discord on Linux Mint is a straightforward process. Once installed, Discord offers several benefits for Linux Mint users compared to similar software such as TeamSpeak. For example, it has a highly intuitive and user-friendly interface, excellent voice quality, and a wide range of customization options. It also strongly supports integrations with other popular gaming platforms and services. In addition, the Discord community is very active and helpful, making it easy to get assistance with any issues that may arise.

Leave a Comment

Share to...