{"id":20547,"date":"2023-08-31T15:51:31","date_gmt":"2023-08-31T15:51:31","guid":{"rendered":"https:\/\/linuxways.net\/?p=20547"},"modified":"2023-08-31T15:54:28","modified_gmt":"2023-08-31T15:54:28","slug":"how-to-install-anydesk-on-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-anydesk-on-debian-12\/","title":{"rendered":"How to Install AnyDesk on Debian 12"},"content":{"rendered":"<p><strong>Debian 12<\/strong> is a Linux distribution that consists of open-source software. We can install <strong>AnyDesk <\/strong>on Debian 12 to establish a fast connection between computers. A user can get access to computers and servers from anywhere in the world but the permission of other computer users to whom we want to get connected is necessary. Advanced security and authentication techniques are used by AnyDesk to secure data from unauthorized access.<\/p>\n<p>In this article, we will demonstrate the complete process of installing AnyDesk on Debian 12.<\/p>\n<h2><strong>How to Install Andesk on Debian 12?<\/strong><\/h2>\n<p>It is necessary to update the system before installing any new package. The step-by-step installation procedure is demonstrated below:<\/p>\n<h3><strong>Step 1: Update System Packages<\/strong><\/h3>\n<p>To update the system, use the command indicated below:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p>As we can see all packages are up to date:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"759\" height=\"272\" class=\"wp-image-20548\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-1.png 759w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-1-300x108.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/p>\n<h3><strong>Step 2: Add the AnyDesk Repository to our System<\/strong><\/h3>\n<p>Anydesk is not available by default on the Debian 12 repository. We can add the anydesk repository to our system by using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">wget<\/span> https:<span class=\"sy0\">\/\/<\/span>keys.anydesk.com<span class=\"sy0\">\/<\/span>repos<span class=\"sy0\">\/<\/span>DEB-GPG-KEY<\/div><\/div>\n<p>As shown in the snapshot, the command has been executed successfully:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"184\" class=\"wp-image-20549\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-2.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-2-300x59.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-2-768x150.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/p>\n<h3><strong>Step 3: Import the GPG key into the System<\/strong><\/h3>\n<p>Now execute the command given below to import the GPG key. GPG keys are used for the encryption of data.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>gpg <span class=\"re5\">--no-default-keyring<\/span> <span class=\"re5\">--keyring<\/span> .<span class=\"sy0\">\/<\/span>anydesk_signing_key_temp.gpg <span class=\"re5\">--import<\/span> .<span class=\"sy0\">\/<\/span>DEB-GPG-KEY<\/div><\/div>\n<p>It can be seen that the GPG key has been imported into our system successfully:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"84\" class=\"wp-image-20550\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-3.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-3-300x27.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-3-768x69.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/p>\n<p>Now execute this command to export the key to any desk repository:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>gpg <span class=\"re5\">--no-default-keyring<\/span> <span class=\"re5\">--keyring<\/span> .<span class=\"sy0\">\/<\/span>anydesk_signing_key_temp.gpg <span class=\"re5\">--export<\/span> <span class=\"sy0\">&gt;<\/span> .<span class=\"sy0\">\/<\/span>anydesk_signing_key.gpg<\/div><\/div>\n<p>Now, execute this command to get a signing key from the configuration file as shown below:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">mv<\/span> anydesk_signing_key.gpg <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>trusted.gpg.d<span class=\"sy0\">\/<\/span><\/div><\/div>\n<p>Afterward, execute the following command to add the Debian repository to the<strong> \/etc\/apt\/sources.list <\/strong>\u201cconfiguration\u201d file:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw3\">echo<\/span> <span class=\"st0\">&quot;deb http:\/\/deb.anydesk.com\/ all main&quot;<\/span> <span class=\"sy0\">|<\/span> <span class=\"kw2\">sudo<\/span> <span class=\"kw2\">tee<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>sources.list.d<span class=\"sy0\">\/<\/span>anydesk-stable.list<\/div><\/div>\n<p>It can be seen that all the commands have been executed successfully.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"69\" class=\"wp-image-20551\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-4.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-4-300x22.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-4-768x56.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/p>\n<p><strong>Note: <\/strong>The execution of these commands often throws errors. To avoid errors, make sure you execute the commands one by one.<\/p>\n<h3><strong>Step 4: Update the system Because of the Addition of Configuration Files<\/strong><\/h3>\n<p>Now we have to update the system due to the addition of new configuration files. Use the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"164\" class=\"wp-image-20552\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-5.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-5-300x52.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-5-768x134.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/p>\n<p>After successfully updating the packages, we are ready to install anydesk into our system.<\/p>\n<h3><strong>Step 5: Install AnyDesk<\/strong><\/h3>\n<p>To install Anydesk, use the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> anydesk<\/div><\/div>\n<p>As we can see, AnyDesk has been installed successfully.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"150\" class=\"wp-image-20553\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-6.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-6-300x48.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-6-768x123.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/p>\n<h2><strong>How to Use AnyDesk on Debian 12?<\/strong><\/h2>\n<p>After installing AnyDesk, let\u2019s open it and see its use cases.<\/p>\n<h3><strong>Step 1: Launching AnyDesk from the Terminal<\/strong><\/h3>\n<p>To use AnyDesk, open the terminal and execute the following \u201c<strong>anydesk<\/strong>\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>anydesk<\/div><\/div>\n<p>By executing this command, we will be navigated to the home page of AnyDesk as shown below:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"542\" height=\"326\" class=\"wp-image-20554\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-7.png 542w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-7-300x180.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-7-501x300.png 501w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/strong><\/p>\n<h3><strong>Step 2: Customize Settings<\/strong><\/h3>\n<p>Go to settings by clicking on the menu button in the top right corner of the screen:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"511\" class=\"wp-image-20555\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-8.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-8-300x163.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-8-768x417.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/strong><\/p>\n<p>Go to \u201c<strong>Permission Profile<\/strong>\u201d and click on the type of access you want. There are 4 options to consider:<\/p>\n<ol>\n<li>You can choose <strong>default <\/strong>access.<\/li>\n<li>You can choose the <strong>Screen Sharing<\/strong> option.<\/li>\n<li>You can choose <strong>Full Access<\/strong>.<\/li>\n<li>You can also select <strong>Unattended Access. <\/strong>A password must be provided for this type of access.<\/li>\n<\/ol>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"398\" class=\"wp-image-20556\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-9.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-9-300x127.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-9-768x325.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/strong><\/p>\n<h3><strong>Step 3: Connect to Remote Devices Using AnyDesk<\/strong><\/h3>\n<p>The address of your Computer is shown in the \u201c<strong>Your Address<\/strong>\u201d Section. In my case, it&#8217;s \u201c<strong>1 567 460 862<\/strong>\u201d.<\/p>\n<p>The address is essential as it enables connections to other computers.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"351\" class=\"wp-image-20557\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-10.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-10-300x112.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-10-768x287.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/strong><\/p>\n<p>To access another Computer, simply provide the address of that computer in the <strong>Remote Desk <\/strong>section and click on <strong>Connect<\/strong>. The user of another Computer will get a connection request. If he accepts, you will be given access to that computer successfully.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"314\" class=\"wp-image-20558\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-11.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-11-300x100.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-11-768x257.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/strong><\/p>\n<h2><strong>How to Uninstall AnyDesk on Debian 12?<\/strong><\/h2>\n<p>On Debian 12, open the terminal and enter the \u201csudo apt remove anydesk\u201d command to uninstall AnyDesk:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt remove anydesk<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"759\" height=\"449\" class=\"wp-image-20559\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-12.png 759w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20547-12-300x177.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/strong><\/p>\n<p>We can see that AnyDesk has been removed from our Debian 12 system successfully.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>To connect to other desktop PCs we use a remote desktop software known as AnyDesk. To install Anydesk on Debian 12, we will add the Anydesk repository to our system using <strong>\u201cwget https:\/\/keys.anydesk.com\/repos\/DEB-GPG-KEY<\/strong>\u201d. Then update the system and execute the \u201c<strong>sudo apt install anydesk<\/strong>\u201d command to install anydesk. This write-up has demonstrated the complete procedure of installing AnyDesk on Debian 12.<\/p>","protected":false},"excerpt":{"rendered":"<p>To install Anydesk on Debian 12, add the Anydesk repository, then update the system packages, and execute the \u201csudo apt install anydesk\u201d command.<\/p>","protected":false},"author":110,"featured_media":20560,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-20547","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20547","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\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=20547"}],"version-history":[{"count":1,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20547\/revisions"}],"predecessor-version":[{"id":20561,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20547\/revisions\/20561"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/20560"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=20547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=20547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=20547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}