AnyDesk is a remote desktop application that allows users to connect to and control a remote computer. It is available for Windows, macOS, Linux, and Android. AnyDesk can be used for various tasks, such as accessing a remote computer from another location, providing remote support, or transferring files between computers, and is a commonly used software for technical help to users remotely.
The following tutorial will teach you how to install AnyDesk on Debian 11/10 Linux desktop. The tutorial will import the official repository and gpg key and update and remove the remote desktop software using the command line terminal.
Table of Contents
The following tutorial was done with a Debian 11 Bullseye release and example images taken, but it was tested on Debian Buster and Sid. In the future, if Debian makes any changes to break the tutorial for one of the distribution versions, please place a comment for me to investigate so I can update the tutorial.
Recommended Steps Before Installation
Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.
sudo apt update
Optionally, you can list the updates for users who require review or are curious.
sudo apt --list upgradable
Proceed to upgrade any outdated packages using the following command.
sudo apt upgrade
The following dependencies will need to be installed. Most of these packages are already on your system, but running the command can help ensure they’re installed.
sudo apt install software-properties-common apt-transport-https dirmngr ca-certificates gnupg2 curl -y
If you skip and encounter issues, return and just run the command.
The first step is to import the GPG key to verify the authenticity of the packages. In your terminal, execute the following command to import to your keychain.
curl -fsSL https://keys.anydesk.com/repos/DEB-GPG-KEY | gpg --dearmor | sudo tee /usr/share/keyrings/anydesk.gpg > /dev/null
Next, import the AnyDesk repository. Please note AMD64, i386, and ARMHF are supported.
echo 'deb [signed-by=/usr/share/keyrings/anydesk.gpg] http://deb.anydesk.com/ all main' | sudo tee /etc/apt/sources.list.d/anydesk.list
Now run an APT update to reflect the newly imported repository.
sudo apt update
Finally, you can install the AnyDesk using the following command.
sudo apt install anydesk -y
Launching can be done in a few ways now that you have the software installed.
Using the command line terminal, you can open it quickly by using the following command.
The best way to use AnyDesk for desktop users that prefer not to use the command line terminal is to open the GUI of the application by following the path.
Activities > Show Applications > AnyDesk.
Once open, you can begin using AnyDesk by connecting to a remote PC by getting its address.
The software should update itself with your system packages for desktop users using the APT package manager. For users who want to check manually, use the following command in your terminal.
sudo apt update && sudo apt upgrade
When you no longer want the video conference software installed on your system, use the following command to remove it.
sudo apt autoremove anydesk --purge -y
Remove the repository if you plan not to re-install AnyDesk again.
sudo rm /etc/apt/sources.list.d/anydesk.list
After removing the repository list file, remove the GPG.
sudo rm /usr/share/keyrings/anydesk.gpg