
{"id":47480,"date":"2024-11-06T10:07:58","date_gmt":"2024-11-06T10:07:58","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47480"},"modified":"2025-10-21T15:14:03","modified_gmt":"2025-10-21T15:14:03","slug":"install-anydesk-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/11\/install-anydesk-ubuntu\/","title":{"rendered":"Install AnyDesk Remote Desktop App in Ubuntu 24.04 | 25.10"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-47481\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This tutorial shows how to install and configure AnyDesk for remote desktop access in Ubuntu 24.04 and Ubuntu 25.10.<\/p>\n<p>AnyDesk is a popular remote desktop application works in Linux, Windows, macOS, Android, and iOS. It features full remote access, file manager and file transfer, chat, VPN, wake-on-lan, and more.<\/p>\n<p>For Debian, Ubuntu, and Linux Mint based systems, AnyDesk is available to install through either way below:<\/p>\n<ul>\n<li>native <b>.deb<\/b> package, and apt repository to keep it up-to-date.<\/li>\n<li><b>Flatpak<\/b> package &#8211; runs in sandbox, maintained by open-source community.<\/li>\n<\/ul>\n<p>Both so far supports only <code>amd64<\/code> (Intel\/AMD) CPU architecture types.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mint.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47482\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mint-700x494.webp\" alt=\"\" width=\"610\" height=\"430\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mint-700x494.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mint-300x212.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mint-768x542.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mint.webp 1228w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<h3>Option 1: Install AnyDesk from its official apt repository<\/h3>\n<p>The <a href=\"https:\/\/anydesk.com\/en\/downloads\/linux\" target=\"_blank\" rel=\"noopener\">software website<\/a> provides official .deb\/.rpm packages for Linux. Debian and Ubuntu based systems however can add its official apt repository to keep the package up-to-date.<\/p>\n<p><b>NOTE: The <a href=\"https:\/\/deb.anydesk.com\/howto.html\" target=\"_blank\" rel=\"noopener\">official guide<\/a> <del datetime=\"2025-10-21T15:08:53+00:00\">is outdated!<\/del> This is a re-write that follows current Debian\/Ubuntu policy.<\/b><\/p>\n<p><b>1. Get the gpg key<\/b>. First, press <code>Ctrl+Alt+T<\/code> on keyboard to open terminal, then run the command below to get the key:<\/p>\n<pre>wget -qO - https:\/\/keys.anydesk.com\/repos\/DEB-GPG-KEY | gpg --dearmor | sudo tee \/etc\/apt\/keyrings\/anydesk.gpg<\/pre>\n<p>The command will use <code>wget<\/code> tool to download the key, then de-armor so it will be un-readable, and finally install the key to <code>anydesk.gpg<\/code> file under <code>\/etc\/apt\/keyrings<\/code> directory.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-key.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47483\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-key-700x472.webp\" alt=\"\" width=\"610\" height=\"411\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-key-700x472.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-key-300x202.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-key-768x518.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-key.webp 906w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>2. Add the apt repository<\/b>. Then, run the command below to add AnyDesk apt repository to your system:<\/p>\n<pre>echo \"deb [signed-by=\/etc\/apt\/keyrings\/anydesk.gpg] http:\/\/deb.anydesk.com\/ all main\" | sudo tee \/etc\/apt\/sources.list.d\/anydesk-stable.list<\/pre>\n<p>This command will create <code>anydesk-stable.list<\/code> file under <code>\/etc\/apt\/sources.list.d<\/code> directory, and write the content under quotation marks.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-repo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47484\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-repo-700x296.webp\" alt=\"\" width=\"610\" height=\"258\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-repo-700x296.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-repo-300x127.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-repo.webp 738w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p><b>3. Install or update AnyDesk<\/b>. Finally, run command to refresh your system package cache:<\/p>\n<pre>sudo apt update<\/pre>\n<p>And, use the command below to install the <code>.deb<\/code> package of AnyDesk:<\/p>\n<pre>sudo apt install anydesk<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/apt-anydesk.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47485\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/apt-anydesk-700x515.webp\" alt=\"\" width=\"610\" height=\"449\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/apt-anydesk-700x515.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/apt-anydesk-300x221.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/apt-anydesk.webp 738w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>Skip the &#8220;Failed to stop anydesk.service: Unit anydesk.service not loaded&#8221; error output. It&#8217;s seems to be something to do with the pre-install script, but no impact.<\/p>\n<p><b>To check updates<\/b> for AnyDesk, either run the 2 apt commands above again and again or use system update manager (Software Updater).<\/p>\n<p><b>4. Launch and use AnyDesk<\/b>. After installed the software package, search for and launch it from start menu or Gnome overview.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/launch-anydesk.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-47486\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/launch-anydesk.webp\" alt=\"\" width=\"520\" height=\"281\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/launch-anydesk.webp 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/launch-anydesk-300x162.webp 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>When the app opens, you may connect to a remote desktop by typing its ID either in header address bar or under &#8220;Remote Desk&#8221; session and hit Enter. Or, share your ID with your friends, so they can access remotely.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mainwindow.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47487\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mainwindow-700x460.webp\" alt=\"\" width=\"610\" height=\"401\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mainwindow-700x460.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mainwindow-300x197.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mainwindow-768x505.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-mainwindow.webp 1207w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>When a connection starts, there&#8217;ll be a pop-up in server side, asking to either Allow or Dismiss the connection. While, user can add\/remove permissions, chat, and transfer files between each other.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-popup.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47488\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-popup-700x521.webp\" alt=\"\" width=\"610\" height=\"454\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-popup-700x521.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-popup-300x223.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-popup-768x572.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-popup.webp 838w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>If you don&#8217;t want to stay in front of the computer, waiting for incoming connections, you may go to <b>Settings -&gt; Security<\/b> (or click Set Password), then tick &#8220;<b>Enable unattended access<\/b>&#8220;, set a password, and choose a profile.<\/p>\n<p>After that, remote client can connect with your ID plus the password, without needing to click &#8220;Accept&#8221; button every time.<\/p>\n<p><b>NOTE: If you&#8217;re unable to unlock security settings, try to open settings via <code>sudo anydesk --admin-settings<\/code> command in terminal.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/enable-unattentaccess.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47489\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/enable-unattentaccess-700x537.webp\" alt=\"\" width=\"610\" height=\"468\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/enable-unattentaccess-700x537.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/enable-unattentaccess-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/enable-unattentaccess-768x589.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/enable-unattentaccess.webp 1229w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>For more about AnyDesk, see the official <a href=\"https:\/\/support.anydesk.com\/knowledge\" target=\"_blank\" rel=\"noopener\">Wiki<\/a>.<\/p>\n<h3>Option 2: Install AnyDesk via Flatpak<\/h3>\n<p>For choice, AnyDesk is also available to install in most Linux through <a href=\"https:\/\/flathub.org\/apps\/com.anydesk.Anydesk\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a>. It&#8217;s a community maintained (meaning unofficial) package runs in sandbox environment.<\/p>\n<p>Linux Mint 21\/22 (need to enabled unverified Flatpak) and Fedora 38+ (with 3rd party repository enabled) can search and install the package from either Software Manager or GNOME Software.<\/p>\n<p>While Ubuntu and other Linux can follow the steps below one by one to install it:<\/p>\n<ul>\n<li>First, open terminal (Ctrl+Alt+T) and run command to enable Flatpak support:\n<pre>sudo apt install flatpak<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45732\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp\" alt=\"\" width=\"610\" height=\"437\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-700x501.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-300x215.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble-768x550.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/03\/apt-flatpak-noble.webp 786w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Then, add the <a href=\"https:\/\/flathub.org\/\" target=\"_blank\" rel=\"noopener\">Flathub repository<\/a> which hosts the package:\n<pre>flatpak remote-add --if-not-exists flathub https:\/\/dl.flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n<p>Other Linux can follow the <a href=\"https:\/\/flatpak.org\/setup\/\" target=\"_blank\" rel=\"noopener\">official setup guide<\/a> to enable Flatpak support.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47289\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add-700x257.webp\" alt=\"\" width=\"610\" height=\"224\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add-700x257.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add-300x110.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/09\/flathub-add.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<li>Finally, run the command below to install the remote desktop app as Flatpak package:\n<pre>flatpak install flathub com.anydesk.Anydesk<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-flatpak.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47490\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-flatpak-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-flatpak-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-flatpak-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/11\/anydesk-flatpak.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/li>\n<\/ul>\n<p>Like native apps, you can search for and launch the Flatpak app from either start menu or GNOME Overview depends on your desktop. If app icon is not visible, either try log out and back in, or run the command below instead:<\/p>\n<pre>flatpak run com.anydesk.Anydesk<\/pre>\n<p>And, to check updates for the package, use command:<\/p>\n<pre>flatpak update com.anydesk.Anydesk<\/pre>\n<h3>Uninstall AnyDesk<\/h3>\n<p>To uninstall the official AnyDesk <code>.deb<\/code> package, use command:<\/p>\n<pre>sudo apt remove --autoremove anydesk<\/pre>\n<p>Then, also remove the apt repository by deleting the source and key files:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/anydesk-stable.list<\/pre>\n<pre>sudo rm \/etc\/apt\/keyrings\/anydesk.gpg<\/pre>\n<p>Finally, run <code>sudo apt update<\/code> to refresh cache.<\/p>\n<p>To uninstall the Flatpak package, use command:<\/p>\n<pre>flatpak uninstall --delete-data com.anydesk.Anydesk<\/pre>\n<p>Also run <code>flatpak uninstall --unused<\/code> to clear useless runtime libraries.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to install and configure AnyDesk for remote desktop access in Ubuntu 24.04 and Ubuntu 25.10. AnyDesk is a popular remote desktop application works in Linux, Windows, macOS, Android, and iOS. It features full remote access, file manager and file transfer, chat, VPN, wake-on-lan, and more. For Debian, Ubuntu, and Linux Mint [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":47481,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1945],"class_list":["post-47480","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-remote-desktop"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47480","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=47480"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47480\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/47481"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=47480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}