{"id":46083,"date":"2024-04-04T16:24:41","date_gmt":"2024-04-04T16:24:41","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46083"},"modified":"2024-04-04T16:24:41","modified_gmt":"2024-04-04T16:24:41","slug":"install-update-discord-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/04\/install-update-discord-ubuntu-24-04\/","title":{"rendered":"How to Install &#038; Update Discord in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-46084\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This is a step by step guide shows how to install Discord instant messaging app and keep it up-to-date in Ubuntu 24.04 LTS.<\/p>\n<p>Discord is a popular instant messaging and VoIP social platform, that supports voice &amp; video calls, text messaging, media and files. It works in Windows, Linux, macOS, Android, iOS\/iPadOS, and web browser.<\/p>\n<p>Discord for Linux so far supports only <b>x86_64 (AMD\/Intel CPUs)<\/b> platform with following packages:<\/p>\n<ul>\n<li><b>Deb<\/b> &#8211; native for Debian\/Ubuntu.<\/li>\n<li><b>tar.gz<\/b> &#8211; portable package for most Linux.<\/li>\n<li><b>Flatpak<\/b> &#8211; runs in sandbox for most Linux.<\/li>\n<li><b>Snap<\/b> &#8211; runs in sandbox for most Linux.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-darkmode.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46085\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-darkmode-700x417.webp\" alt=\"\" width=\"610\" height=\"363\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-darkmode-700x417.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-darkmode-300x179.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-darkmode-768x458.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-darkmode.webp 1300w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><br \/>\n<!--more--><\/p>\n<h3>Difference between the packages<\/h3>\n<p><b>Deb<\/b> is the native package format for Debian, Ubuntu, and their based systems. Compare to app runs in sandbox, it takes less system resources (disk space in especial) and may have better performance. However, Discord for Linux so far does NOT have an apt repository (some call it PPA) to keep the package up-to-date.<\/p>\n<p>The Discord <b>tar.gz<\/b> for Linux is non-install portable package. Just extract it, then user can run the execute file, from extracted folder, to directly launch the app. However, it lacks system integration for launching from start menu (I&#8217;ll show you how to do it manually in this tutorial).<\/p>\n<p><b>Flatpak<\/b> is an universal Linux package runs in sandbox environment. It comes with most recent run-time libraries in bundle, provides isolation between apps and the operating system, and has a graphical app (Flatseal) to manage permissions on per app basis. Meaning, it can be more safe than the native apps. However, it takes more disk space due to run-time libraries.<\/p>\n<p><b>Snap<\/b> is a competitor to Flatpak. It&#8217;s powered by Canonical, the company behind Ubuntu. The Discord Snap package is quite easy to install and keep updated, however it&#8217;s <b>unofficial<\/b> package maintained by community.<\/p>\n<h3>Option 1: Install Discord Snap package<\/h3>\n<p>The snap package is the easiest way to install the app and keep it up-to-date. The Discord Snap package is maintained by community, and source is available at this <a href=\"https:\/\/github.com\/snapcrafters\/discord\" target=\"_blank\" rel=\"noopener\">Github page<\/a>.<\/p>\n<p>To install the package, simply launch App Center (or Ubuntu Software for 22.04 and earlier), then search &amp; click install Discord.<\/p>\n<div id=\"attachment_46088\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-appcenter.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-46088\" class=\"size-large wp-image-46088\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-appcenter-700x432.webp\" alt=\"\" width=\"610\" height=\"376\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-appcenter-700x432.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-appcenter-300x185.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-appcenter-768x474.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/discord-appcenter.webp 1116w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-46088\" class=\"wp-caption-text\">Discord in Ubuntu 24.04 App Center<\/p><\/div>\n<p>For choice, user may press <code>Ctrl+Alt+T<\/code> to open terminal, and run command instead to install the package:<\/p>\n<pre>snap install discord<\/pre>\n<p>The snap package installs updates automatically. If you want to manually check (and install if any) updates, then use command:<\/p>\n<pre>snap refresh discord<\/pre>\n<h3>Option 2: Download &amp; Install Discord via Deb package<\/h3>\n<p>1. First, go to Discord website through the link button below, and select download the &#8220;<b>deb<\/b>&#8221; package:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/discord.com\/download\" target=\"_blank\" rel=\"noreferrer noopener\">Download Discord<\/a><\/div>\n<\/div>\n<p><i>NOTE: The page auto-detects your system. If you&#8217;re trying to download it from non-Linux system, then you may need to scroll down a bit to find out the Linux download link.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/download-discord.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46089\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/download-discord-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/download-discord-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/download-discord-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/download-discord-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/download-discord.webp 1212w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>2. After downloaded the package, press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, then run command to install it:<\/p>\n<pre>sudo apt install ~\/Downloads\/discord*.deb<\/pre>\n<p><i>This command assumes that you saved the package in user Downloads folder. If it does NOT work for you, try drag and drop the &#8220;deb&#8221; file into terminal to insert, instead of typing <code>~\/Downloads\/discord*.deb<\/code>.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-discord-deb.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46086\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-discord-deb-700x415.webp\" alt=\"\" width=\"610\" height=\"362\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-discord-deb-700x415.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-discord-deb-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-discord-deb-768x456.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/apt-discord-deb.webp 1124w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Once successfully installed, you can then search for and launch the instant messaging app from either start menu or GNOME &#8216;Show Apps&#8217; screen depends on your desktop.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-46087\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord.webp\" alt=\"\" width=\"540\" height=\"288\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord.webp 540w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-300x160.webp 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/a><\/p>\n<p>Discord so far does NOT provide an official repository to keep the deb package up-to-date. So, you may need to do the previous steps again and again for future releases.<\/p>\n<h3>Option 3: Use Discord .tar.gz &amp; Add app icon to menu<\/h3>\n<p>For non-(Ubuntu and Debian) system users that hate sandbox environment, the official <b>.tar.gz<\/b> is the good choice.<\/p>\n<p>1. First, go to its website and click download the tarball.<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/discord.com\/download\" target=\"_blank\" rel=\"noreferrer noopener\">Download Discord<\/a><\/div>\n<\/div>\n<p>2. Then, open your Downloads folder. Extract the tarball, and move &#8220;Discord&#8221; sub-folder to your desired location for long time use.<\/p>\n<p>In my case, I created an <b>Apps<\/b> folder in user home for storing all portable apps. So, I moved the Discord folder into there.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-portable.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46090\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-portable-700x417.webp\" alt=\"\" width=\"610\" height=\"363\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-portable-700x417.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-portable-300x179.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-portable-768x457.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-portable.webp 1272w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>3. Next, navigate to that folder, and click run the executable file will launch the app:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-portable.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46091\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-portable-700x429.webp\" alt=\"\" width=\"610\" height=\"374\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-portable-700x429.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-portable-300x184.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-portable-768x470.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/launch-discord-portable.webp 985w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>4. To make the app icon visible in start menu<\/b>, then click the &#8220;discord.desktop&#8221; file to open with text editor. Then, set the &#8216;Exec&#8217; and &#8220;Icon&#8221; lines to:<\/p>\n<ul>\n<li><code>Exec=\/home\/YOUR_USERNAME\/Apps\/Discord\/Discord<\/code><\/li>\n<li><code>Icon=\/home\/YOUR_USERNAME\/Apps\/Discord\/discord.png<\/code><\/li>\n<\/ul>\n<p>NOTE: if you moved the Discord folder to another location, then replace the PATH accordingly (See screenshot below).<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/edit-discord-desktop.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46092\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/edit-discord-desktop-700x455.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/edit-discord-desktop-700x455.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/edit-discord-desktop-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/edit-discord-desktop-768x499.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/edit-discord-desktop.webp 1184w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After edited and saved the &#8220;discord.desktop&#8221; file, move (or copy) it to <code>.local\/share\/applications<\/code>. NOTE: &#8220;.local&#8221; is a hidden folder, you need to press Ctrl+H to view (or press again to hide) it in home directory.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-desktop1.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46094\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-desktop1-700x327.webp\" alt=\"\" width=\"610\" height=\"285\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-desktop1-700x327.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-desktop1-300x140.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-desktop1-768x359.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/mv-discord-desktop1.webp 1284w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If everything goes well, your system should be able to find out the app and show its icon in app launcher (start menu or GNOME app grid).<\/p>\n<h3>Option 4: Discord Flatpak package<\/h3>\n<p>Linux Mint 21+ and Fedora 38+ (with 3rd party repository enabled) may prefer the Flatpak package, since the package can be installed directly from either Software Manager or GNOME Software.<\/p>\n<p>For Ubuntu user who want to install the app using <a href=\"https:\/\/flathub.org\/apps\/com.discordapp.Discord\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a>, press <code>Ctrl+Alt+T<\/code> to open terminal, then run commands below one by one:<\/p>\n<p>1. First, run command to install the daemon package for Flatpak support:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-39141\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp\" alt=\"\" width=\"600\" height=\"229\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-300x115.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-768x294.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp 777w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. Then, install the app as Flatpak package by running the command below in terminal:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.discordapp.Discord.flatpakref<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/flatpak-discord.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46095\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/flatpak-discord-700x559.webp\" alt=\"\" width=\"610\" height=\"487\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/flatpak-discord-700x559.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/flatpak-discord-300x239.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/flatpak-discord-768x613.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/flatpak-discord.webp 916w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>After installation, start it either from system app launcher (may need log out and back in) or by running command:<\/p>\n<pre>flatpak run com.discordapp.Discord<\/pre>\n<p><b>To check (and install if any) updates<\/b> for the Flatpak package, use command:<\/p>\n<pre>flatpak update com.discordapp.Discord<\/pre>\n<h3>Uninstall Discord<\/h3>\n<p>To uninstall the Deb package, simply open terminal (Ctrl+Alt+T) and run command:<\/p>\n<pre>sudo apt remove --autoremove discord<\/pre>\n<p>To uninstall the Snap package, either use App Center (or Ubuntu Software) or run command:<\/p>\n<pre>snap remove --purge discord<\/pre>\n<p>For the <b>tar.gz<\/b> package, just delete the &#8220;Discord&#8221; folder (depends on where you store it), then remove the <code>discord.desktop<\/code> file via command:<\/p>\n<pre>rm ~\/.local\/share\/applications\/discord.desktop<\/pre>\n<p>And, to uninstall the Flatpak package, use command:<\/p>\n<pre>flatpak uninstall --delete-data com.discordapp.Discord<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to remove useless runtime libraries.<\/p>","protected":false},"excerpt":{"rendered":"<p>This is a step by step guide shows how to install Discord instant messaging app and keep it up-to-date in Ubuntu 24.04 LTS. Discord is a popular instant messaging and VoIP social platform, that supports voice &amp; video calls, text messaging, media and files. It works in Windows, Linux, macOS, Android, iOS\/iPadOS, and web browser. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":46084,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1406],"class_list":["post-46083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-discord"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=46083"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46083\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/46084"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}