In this tutorial, we will show you how to install Discord on AlmaLinux 8. For those of you who didn’t know, Discord is the easiest way to talk over voice, video, and text. Talk, chat, hang out, and stay close with your friends and communities. The service can be used both via the website without a client and for Windows, Mac, and portable platforms such as Android and iOS and even directly in the browser.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you through the step-by-step installation of the Discord on an AlmaLinux 8. You can follow the same instructions for Rocky Linux.
Prerequisites
- A server running one of the following operating systems: AlmaLinux 8, CentOS, and Rocky Linux 8.
- It’s recommended that you use a fresh OS install to prevent any potential issues
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Discord on AlmaLinux 8
Step 1. First, let’s start by ensuring your system is up-to-date.
sudo dnf update sudo dnf install epel-release
Step 2. Enable Snapd.
Run the following command to enable Snap to your AlmaLinux system:
sudo dnf install snapd sudo systemctl enable --now snapd.socket sudo ln -s /var/lib/snapd/snap /snap
Step 3. Installing Discord on AlmaLinux 8.
- Install Discord via Snap.
Now we run the command to download the Discord packages to install on your Linux system:
sudo snap install discord
- Install Discord from the official website.
Now we download the Discord archive from its official website:
wget https://dl.discordapp.net/apps/linux/0.0.15/discord-0.0.15.tar.gz sudo mkdir /usr/share/discord sudo tar -xf discord-*.tar.gz -C /usr/share/discord --strip-component 1
Next, create Desktop and Launcher:
cp /usr/share/discord/discord.desktop ~/Desktop/
For Application Launcher:
sudo cp /usr/share/discord/discord.desktop /usr/share/applications/
Step 4. Accessing Discord on AlmaLinux.
Once successfully installed, you will have the Discord shortcut on your Linux desktop. Right-click on it and select Allow Launching.
Congratulations! You have successfully installed Discord. Thanks for using this tutorial for installing the Discord on your AlmaLinux 8 system. For additional help or useful information, we recommend you check the official Discord website.