Have you ever looked for a Discord PPA? Would you like to have Discord up-to-date without depending on Snap Store on your Linux distribution? Let me introduce you a new PPA for having your Discord installation on your system with all features.

Discord is a chatting and texting application whose motivation is to substitute both Skype and TeamSpeak as the desired chat application for gamers and general purpose.

Currently, Discord is available for downloading for all platforms but, in Linux, it is only available for downloading as a raw .deb file or using the Snap Store, without any official PPA. As some users are against the Snap Store (due to its limitations, restrictions and policies), this repository aims to provide an easy solution for all users who want to have Discord installed and upgradeable.

How it works?

On the one hand, Discord is available for downloading from the official website, using the following URL: https://discordapp.com/api/download?platform=linux&format=deb

With that in mind, the server just runs every fifteen minutes and downloads the latest file provided by the Discord team. Then the PPA is updated and, if a new version is available, served to the users.

In that way, the PPA is always up-to-date (with a delay of at most 15 minutes) and the end-user can have the stable installation of Discord (or beta one) in their computers.

Installation

Firstly, we need to import the GPG repository keys:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5890E288F7ED6702

Then, add the repository to your sources.list as follows:

  • For the stable version, use the all distribution.
  • For the beta version, use the public-beta distribution.
  • You can use HTTPS if you want.
# Stable repository
sudo add-apt-repository "deb [arch=amd64] https://ppa.javinator9889.com/ all main"

# Beta repository
sudo add-apt-repository "deb [arch=amd64] https://ppa.javinator9889.com/ public-beta main"

Finally, update and install Discord:

sudo apt update && sudo apt install discord

# If using public beta, install as follows:
sudo apt install discord-ptb

You can browse the repository at the following URL: https://ppa.javinator9889.com/ and the GitLab repo at: https://gitlab.javinator9889.com/Javinator9889/discord-ppa

Uninstalling Discord and repository

If you would like to remove Discord from your computer and remove the repository from your sources.list, run the following commands:

sudo apt remove discord
# If using public beta, uninstall as follows
sudo apt remove discord-ptb

# Remove the repository using the add-apt-repository command
# Keep in mind it must be the same as you added (stable, beta, etc.)
sudo add-apt-repository -r "deb [arch=amd64] https://ppa.javinator9889.com/ all main"

# Finally, remove the key if you want not to trust it anymore
sudo apt-key del 5890E288F7ED6702

If you find this guide useful, please consider sharing it and support my development 👊 – you can find here more articles that you may find interesting:

The new Ubuntu version: https://blog.javinator9889.com/ubuntu-19-10-un-nuevo-sabor-una-experiencia-mejor/

How to force Strongswan to use our DNS: https://blog.javinator9889.com/strongswan-dns-servers/

DDNS client for GoDaddy and Cloudflare: https://blog.javinator9889.com/ddns-for-godaddy-howto/