It is a cross-platform application that has both desktops and mobile versions. Hence it is available for Windows, macOS, Android, Linux, and iPhone. The article details the Discord installation and configuration process in Manjaro Linux via Pacman, snap, tar.gz file, and graphical user interface GUI.
Discord Installation via Pacman
Pacman is a distinguishing feature of all Arch-based Linux distributions. It’s a package management tool that allows users to install, remove, upgrade and downgrade packages. Use the pacman command to update the repository and install Discord.
[manjaro@manjaro ~]$ sudo pacman -S discord
[sudo] password for manjaro:
looking for conflicting packages...
Packages (1) discord-0.0.14-1
Total Download Size: 52.73 MiB
Total Installed Size: 175.38 MiB
:: Proceed with installation? [Y/n] y
Now press the Windows key and enter Discord in the search bar to launch the application.
Use the following command to remove Discord via Pacman package manager.
Discord Installation via SNAP Package:
Snaps are a cross-distribution, independent, containerized easy to install software packaged with all its dependencies. Before getting started with a Discord installation via snaps enable snapd, it’s a background service responsible for managing and maintaining Snaps in Manjaro Linux.
Use Pacman to install snapd.
After installation, enable the systemd unit that manages the snap communication socket with the help of the following command.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /usr/lib/systemd/system/snapd.socket
Now restart the system to ensure successful initialization and update of the snap path.
Now install discord snap via the following command:
Similarly, use the snap remove command to uninstall Discord.
The main advantage of Discord installation via snap is that snapd checks version updates 4 times a day, ensuring the application’s latest version installation and automatic updates. It also allows users to configure and manage updates manually. However, the only downside is that Discord will take time to launch.
Discord Installation via tar gz File
Discord provides a traditional way to install it on Linux. It offers a tar.gz file that requires manual configuration via terminal.
Go to the official Discord website to download the tar.gz file.
Go to the downloaded folder and use the tar utility with the -xvzf option to extract the discord-0.0.14.tar.gz file and place the extracted file content in the /opt directory.
Now cd into the /opt directory to find a new Discord directory:
drwxr-xr-x 5 root root 4096 Mar 23 20:06 Discord
The step involves tackling two Discord files, namely a binary file and discord.desktop file. Since the /usr/bin directory contains executable commands in the system.
Symbolically link the discord binary file in the /usr/bin folder.
Now cd into the /usr/bin directory and list the directory content to link to the binary file.
lrwxrwxrwx 1 root root 20 May 1 08:32 Discord -> /opt/Discord/Discord
Now any changes in the link will directly impact the original binary file. The link allows the users to run the command from anywhere in the system.
The discord command is available to run on the terminal, but the Discord graphical interface isn’t available in the system menu for launch.
For that edit the discord.desktop file located in the /opt/Discord folder. Open the file in the terminal-based editor and change the /usr/share/discord/Discord path to /usr/bin/Discord.
Similarly, the icon variable in the file is the Discord image, displayed in the system menu when the user searches for the application. Change the path to the Discord extracted folder /opt/Discord/discord.png. The file will look as follows:
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
Lastly, please save the file and move it from the extracted folder to the usr/share/applications directory as a desktop entry to be accessible by the system.
Now search for the application in the system menu; if it isn’t available, log out and in again.
Once done, run the application to view the login screen.
The only problem with a traditional way of installing the Discord platform is that it won’t update to the new version automatically. Instead, it requires the user to remove the current installation and repeat the above procedure.
Install Discord via GUI
Manjaro Setting Manager offers a convenient way to install discord. Press the Windows button, go to ‘All Applications’ to select ‘Add/Remove Software‘ to open the GUI. Browse the platform name to install the application.
The article summarizes various ways for beginner Manjaro users to install the Discord platform as a video, voice, and text messaging application. The article explains the Discord application installation process through the command line terminal via Pacman, snap, and traditionally for intermediate Linux users. Lastly, we also discussed how to install Discord via Manjaro Settings Manager.