AnyDesk is a cross-platform Remote client that allows you to remotely control any desktop (Windows, Mac, Android, iOS, Linux, FreeBSD, Raspberry Pi, and Chrome OS).
Moreover, it is very simple to use and is available for most major Linux distributions. And it has numerous features like remote control, file transfer, group policies, address book, custom namespace, REST API support, whitelist, Two-Factor Authentication, and many more.
In this article, you will see how to install AnyDesk on all major Linux distributions, including Ubuntu, Debian, and RHEL-based operating systems.
Prerequisite for AnyDesk
The short and basic requirements to install AnyDesk on your Linux machine are sudo privileges and the rest of the resources we will provide you.
Refer to this article to create a SUDO user in Linux.
Method to Install AnyDesk
AnyDesk can be installed on all major Linux distributions without any hassle because they provide the binary files for Ubuntu and Debian-based operating systems, and RedHat-based systems like RHEL, Fedora, openSUSE, CentOS, or AlmaLinux.
Apart from that, you can also download AnyDesk from software repositories, or else you can compile AnyDesk remote desk from the source file.
You can refer to the following methods to install AnyDesk on your Linux distributions:
- Install AnyDesk from binary packages(.deb or .rpm)
- Install AnyDesk from software repositories
Install AnyDesk from binary packages(.deb or .rpm)
This method is very close to native Windows users; you just need to download a binary package and install it via a graphical tool or command line.
Download AnyDesk package
The first and foremost step is to get a binary package from the official AnyDesk webpage to redirect by clicking on the below button.
Once the page loads, you need to scroll down and click on the respective link according to your Linux flavor. I’m currently using a Debian-based Linux, so I’ll choose the first option, Debian/Ubunt/Mint (64 Bit), which includes (Debian 11, Ubuntu, Elementary OS, Zorin OS, Linux Mint, and etc.).
And once the file is downloaded, you can install AnyDesk via command line or graphical way.
Graphical way to install AnyDesk
I believe you already downloaded the AnyDesk binary package from the above steps. If not, please download it and then follow the subsequent steps.
Open the file manager and go to the directory where the AnyDesk file is present. By default, AnyDesk will get downloaded to the Download directory.
Simply do double click on “anydesk_X.X.X-X_amd64.deb” and it will open “Software Install” to Install the respective package.
Click on Install which will prompt you to authenticate yourself.
If somehow it is not showing you the install option, then you can right-click on the binary package and select “Software Install” and proceed further to install the applications.
Once AnyDesk is installed, you can run it from the terminal as well as from the App manager. To run it, type “anydesk”
Install AnyDesk from software repositories
Alternatively, you can follow this method to install AnyDesk without downloading binary packages. Simply run a couple of commands and AnyDesk is available on your system.
AnyDesk install on Ubuntu/Debian based distributions
I’m following this step on Debian 11, so I’ll paste the following commands into my terminal window. And this command is also applicable to all Ubuntu and Debian-based operating systems.
This step is optional, but you can use this auto-update, and verify the legitimacy of AnyDesk applications that are installed over the internet.
sudo wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add -
sudo echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list
Once the above file is added to your system, you can copy-paste the following command to install AnyDesk on Ubuntu:
sudo apt update
sudo apt install anydesk
AnyDesk Install on RHEL based distributions
As I said, you will find a one-stop guide for the installation of AnyDesk on a Linux machine, so you just need to follow the repositories-based installation guide.
The steps are simple; you just need to do copy-paste the command from the above link into your terminal and AnyDesk will be available on your system.
AnyDesk install on ArchLinux based distributions
Arch users need to install Flatpak to get AnyDesk on their system. If your system doesn’t have flatpak, then install it by typing the below code:
sudo pacman -S flatpak
Then run the following command to install AnyDesk on Arch-based Linux like Manjaro, GarudaLinux, XeroxOS, EndeavourOS, etc.
sudo flatpak install flathub com.anydesk.Anydesk
Some of the problems you may encounter while running AnyDesk on your system are listed below.
Missing libpangox dependency
Some users may not be able to launch AnyDesk from AppManager, and when they try to launch it from the terminal, an error gets displayed: “anydesk: error while loading shared libraries: libpangox-1.0.so.0: cannot open shared object file: No such file or directory”.
To resolve this error, you can install libpangox by pasting the below code into your terminal window:
sudo apt install libpangox-1.0-0
Remote display server is not supported (e.g. Wayland)
AnyDesk does not support Wayland window types, so a user of the Wayland window type cannot share windows through AnyDesk. Therefore, you may get an error like on remote Anydesk: Remote display server is not supported (e.g. Wayland) or display_server_not_supported as shown below.
Follow this article to: Easily switch from Wayland to the X11 Window system from the lockscreen.
To resolve this error, you need to enable the X11 window or you can modify /etc/gdm3/daemon.conf.
sudo nano /etc/gdm3/daemon.conf
And restart your system to reflect the changes. After that, try once again to connect to your remote desk, and you will find the error is resolved.
That’s all to install AnyDesk on a Linux (Ubuntu, Debian,RHEL, Arch, and other major flavours). Now you guys know how to install AnyDesk in a very simple and easy way.
Apart from that, we have included some of the common errors that you may face while running AnyDesk.
As you know, AnyDesk is proprietary software that is most commonly used worldwide. In the upcoming days, we will write an article based on FOSS projects, so make sure to subscribe to our newsletter for updates.
A man with a tech effusive who has explored some of the amazing technology stuff and is exploring more. While moving towards, I had a chance to work on Android development, Linux, AWS, and DevOps with several open-source tools.