{"id":13600,"date":"2022-01-06T12:54:38","date_gmt":"2022-01-06T12:54:38","guid":{"rendered":"https:\/\/linuxways.net\/?p=13600"},"modified":"2022-01-06T12:54:38","modified_gmt":"2022-01-06T12:54:38","slug":"how-to-install-discord-on-rocky-linux-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/red-hat\/how-to-install-discord-on-rocky-linux-8\/","title":{"rendered":"How to Install Discord on Rocky Linux 8"},"content":{"rendered":"<p>Discord is a free, cross-platform, video and audio text chat application that was originally built for the video gaming community but has fully evolved into a popular tool for online communities. Discord lets users join servers where larger communities can interact.<\/p>\n<p>This tutorial will demonstrate different ways of installing Discord on Rocky Linux 8.<\/p>\n<h2><strong>Method 1: Install Discord as a snap package<\/strong><\/h2>\n<p>You can install discord using snap. you need to have snap installed on Rocky Linux 8.<\/p>\n<p>First, install the epel repository with the command:<\/p>\n<pre><strong>$ sudo dnf install epel-release -y<\/strong><\/pre>\n<p>Then, Install snap as shown:<\/p>\n<pre><strong>$ sudo dnf install snapd<\/strong><\/pre>\n<p>After that is done, enable snapd to run on system boot by running the following command:<\/p>\n<pre><strong>$ sudo systemctl enable snapd --now<\/strong><\/pre>\n<p>If you are installing Snap (snapd) for the first time, it is recommended to install the core files to prevent any conflicts: Run:<\/p>\n<pre><strong>$ sudo snap install core<\/strong><\/pre>\n<p>Next, enable classic snap support by creating a symbolic link from the <strong>\/var\/lib\/snapd\/snap <\/strong> directory to <strong>\/snap.<\/strong><\/p>\n<pre><strong>$ sudo ln -s \/var\/lib\/snapd\/snap \/snap<\/strong><\/pre>\n<p>After Snap core is installed, restart your system to update snap changes in your system.<\/p>\n<pre><strong>$ sudo reboot<\/strong><\/pre>\n<p>Now we are ready to install the Discord client. Use the below snap command:<\/p>\n<pre><strong>$ sudo snap install discord<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"181\" class=\"wp-image-13601\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-78.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-78.png 735w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-78-300x74.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/> <\/strong><\/p>\n<p>Now let\u2019s check out the other alternative to installing discord.<\/p>\n<h2><strong>Method 2: Install Snap using flatpak<\/strong><\/h2>\n<p>The second option is to install Discord with Flatpak which is a also a Package management utility.<\/p>\n<p>Start off by enabling Flatpak for Rocky Linux 8 as shown:<\/p>\n<pre><strong>$ sudo flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/strong><\/pre>\n<p>If you don;t have flatpak already in place, execute the following command to install it.<\/p>\n<pre><strong>$ sudo dnf install flatpak -y<\/strong><\/pre>\n<p>To install Discord using Flatpak, execute the command::<\/p>\n<pre><strong>$ sudo flatpak install flathub com.discordapp.Discord<\/strong><\/pre>\n<p>If you wish to manually update Flatpak packages installed on your rocky Linux system, execute the command:<\/p>\n<pre><strong>$ sudo flatpak update<\/strong><\/pre>\n<p>Uninstall the Discord version available on Flatpak as follows:<\/p>\n<pre><strong>$ flatpak uninstall --delete-data com.discordapp.Discord<\/strong><\/pre>\n<h2><strong>Method 3: Install Discord Manually<\/strong><\/h2>\n<p>The last option is to manually download and install Discord. This is an ideal alternative if you choose to steer clear from using snap or flatpak.<\/p>\n<p>To get started out with manual installation, head over to the <a href=\"https:\/\/discord.com\/download\">official Discord download page<\/a> and download the tarball file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"484\" class=\"wp-image-13602\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-79.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-79.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-79-300x198.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<p>Usually, this downloads the archive file to the <strong>Downloads<\/strong> folder.<\/p>\n<p>Next, you need to create a directory to extract the Discord zipped file contents.<\/p>\n<pre><strong>$ sudo mkdir \/usr\/share\/discord<\/strong><\/pre>\n<p>Thereafter navigate to the <strong>Downloads<\/strong> folder<\/p>\n<pre><strong>$ cd Downloads<\/strong><\/pre>\n<p>Then unzip the tarball file to the directory you have just created.<\/p>\n<pre><strong>$ sudo tar -xvf discord-*.tar.gz -C \/usr\/share\/discord --strip-component 1<\/strong><\/pre>\n<p>Next, copy the discord.desktop application into the applications menu as shown:<\/p>\n<pre><strong>$ sudo cp \/usr\/share\/discord\/discord.desktop \/usr\/share\/applications\/<\/strong><\/pre>\n<p>Finally, you may have observed that the Discord application installed has an odd icon, to fix this, you need to manually copy the discord icon into the \/usr\/share\/pixmaps folder. Execute the command:<\/p>\n<pre><strong>$ sudo cp \/usr\/share\/discord\/discord.png \/usr\/share\/pixmaps<\/strong><\/pre>\n<h2><strong>Launch Discord<\/strong><\/h2>\n<p>With Discord installed, there are two approaches you can use to launch it: on terminal and using the GUI.<\/p>\n<p>On the terminal , you can launch it in detached mode so that you can free up the terminal<\/p>\n<pre><strong>$ discord&amp;<\/strong><\/pre>\n<p>Alternatively, you can click on \u2018<strong>Activities<\/strong>\u2019 and seach for Discord as shown. Then click on the Discord icon to launch the application.<\/p>\n<p>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"741\" height=\"387\" class=\"wp-image-13603\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-80.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-80.png 741w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-80-300x157.png 300w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/p>\n<p>Once you click the Discord icon , it starts downloading and installing the latest updates.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"549\" height=\"431\" class=\"wp-image-13604\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-81.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-81.png 549w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-81-300x236.png 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/p>\n<p>Once done, the Discord login GUI will pop up prompting you to either Login or register for a new account. If you already have an account, simply provide your login credentials ( email or phone number and the password) and click \u2018Login\u2019. Alternatively, scan the QR code provided.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"554\" class=\"wp-image-13605\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-82.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-82.png 986w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-82-300x169.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/01\/word-image-82-768x432.png 768w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>This concludes this article on how to install Discord on Rocky Linux 8. We have outlined three ways you can do so: using snap, flatpak, and manually installing it from an archive downloaded from the official site.<\/p>","protected":false},"excerpt":{"rendered":"<p>Discord is a free, cross-platform, video and audio text chat application that was originally built for the video gaming community but has fully evolved into a popular tool&hellip;<\/p>","protected":false},"author":1,"featured_media":13691,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[165],"tags":[319,436],"class_list":["post-13600","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-red-hat","tag-discord","tag-rocky-linux-8"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/13600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=13600"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/13600\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/13691"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=13600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=13600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=13600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}