How to install AnyDesk on Ubuntu 22.04

To Install AnyDesk On Ubuntu 22.04

Introduction :

AnyDesk is a powerful application that allows users to connect and access a remote computer from their own computer, and then use the computer from their own computer. The AnyDesk Remote Desktop Software is protected by the highest levels of security. All users are free of charge, except for commercial users who must purchase licenses. Linux, Windows, Android, iOS, Raspberry Pi, and many other platforms are supported by AnyDesk.

Installation Procedure:

Step 1: Check the OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

Step 2: Update the package list by using the below command

root@linuxhelp:~# apt update
Hit:1 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [455 kB]                                         
Get:6 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [672 kB]                                        
Get:7 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [234 kB]                                          
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [122 kB]                                         
Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [41.6 kB]                                 
Get:10 http://in.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [419 kB]                                        
Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [10.1 kB]                                 
Get:12 http://in.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [182 kB]                                       
Get:13 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [349 kB]                                  
Get:14 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [102 kB]                                
Get:15 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [52.6 kB]                                 
Get:16 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [15.0 kB]                                
Get:17 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [732 kB]                                    
Get:18 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [350 kB]                                 
Get:19 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [52.8 kB]                                
Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [129 kB]                                    
Get:21 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [920 kB]                                   
Get:22 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [22.0 kB]                            
Get:23 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [15.6 kB]                             
Get:24 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [622 kB]                                    
Get:25 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [194 kB]                                   
Get:26 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [274 kB]                            
Get:27 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [20.0 kB]                            
Get:28 http://in.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]                           
Get:29 http://in.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [7,972 B]                             
Get:30 http://in.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [16.8 kB]                         
Fetched 6,348 kB in 15s (425 kB/s)                                                                                          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.

Step 3: Upgrade the package list by using the below command

root@linuxhelp:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gnome-remote-desktop
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Step 4: Adding AnyDesk to Trusted Software Providers list by using the below command

root@linuxhelp:~# wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

Step 5: Adding AnyDesk repository to your System’s Repository by using the below command

root@linuxhelp:~# echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list
deb http://deb.anydesk.com/ all main

Step 6: Update and upgrade the packages again by using the below command

root@linuxhelp:~# apt update
Get:1 http://deb.anydesk.com all InRelease [5,588 B]
Hit:2 http://in.archive.ubuntu.com/ubuntu jammy InRelease                        
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:6 http://deb.anydesk.com all/main amd64 Packages [641 B]
Get:7 http://deb.anydesk.com all/main i386 Packages [640 B]
Fetched 6,869 B in 3s (2,372 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: http://deb.anydesk.com/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

root@linuxhelp:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gnome-remote-desktop
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Step 7: Install AnyDesk by using the below command

root@linuxhelp:~# apt install anydesk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libgtkglext1
The following NEW packages will be installed:
  anydesk libgtkglext1
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 6,691 kB of archives.
After this operation, 16.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.anydesk.com all/main amd64 anydesk amd64 6.2.1 [6,617 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libgtkglext1 amd64 1.2.0-11 [73.9 kB]
Fetched 6,691 kB in 3s (2,412 kB/s)                                     
Selecting previously unselected package libgtkglext1:amd64.
(Reading database ... 215638 files and directories currently installed.)
Preparing to unpack .../libgtkglext1_1.2.0-11_amd64.deb ...
Unpacking libgtkglext1:amd64 (1.2.0-11) ...
Selecting previously unselected package anydesk.
Preparing to unpack .../anydesk_6.2.1_amd64.deb ...
Failed to stop anydesk.service: Unit anydesk.service not loaded.
Unpacking anydesk (6.2.1) ...
Setting up libgtkglext1:amd64 (1.2.0-11) ...
Setting up anydesk (6.2.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/anydesk.service → /etc/systemd/system/anydesk.service.
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...

Step 8: Next go to dashboard browse any desk and click .you will see the page for any desk.

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install AnyDesk On Ubuntu 22.04. Your feedback is much welcome.

FAQ
Q
How to connect AnyDesk with a client?
A
By entering the client's address at the remote desk to the client.
Q
Which port AnyDesk uses?
A
AnyDesk clients use the TCP-Ports 80, 443, and 6568 to establish connections.
Q
Does AnyDesk store data?
A
We do not store any content of the respective remote data connection (session data) beyond the required scope of data transfer.
Q
Can AnyDesk run without the Internet?
A
As long as both endpoints are able to detect your locally hosted server, you will be able to start a session between the two
Q
What are the limitations of AnyDesk?
A
The free version of AnyDesk only allows you to access up to 3 devices