How to Install AnyDesk on Fedora 40 or 39

AnyDesk is a popular remote desktop software that provides high-performance, low-latency connections, allowing users to access and control computers remotely. It’s widely used for remote support, online collaboration, and remote work due to its speed, security features, and ease of use. AnyDesk supports various platforms, making it a versatile tool for users who need reliable remote access across different operating systems.

On Fedora 40 or 39, you can install AnyDesk using the official RPM mirror provided by AnyDesk, ensuring you have access to the latest version with ongoing updates directly from the developers. This method is ideal for users who want the most up-to-date features and security enhancements. Alternatively, AnyDesk can also be installed via Flatpak from Flathub, offering a sandboxed environment and easier management through Fedora’s Flatpak support. This guide will walk you through both installation methods, helping you choose the most suitable option for your needs.

Method 1: Install AnyDesk via RPM

Update Fedora Linux Before AnyDesk Installation

Before proceeding with the tutorial, ensuring your system is up-to-date with all existing packages is good.

sudo dnf upgrade --refresh

Import AnyDesk RPM

Before proceeding further, you must copy and paste the following command in your terminal, creating the AnyDesk repository file under /etc/yum.repos.d/ directory.

AMD64 (64-bit) users:

sudo tee /etc/yum.repos.d/anydesk.repo<<EOF
[anydesk]
name=AnyDesk Fedora Linux
baseurl=http://rpm.anydesk.com/fedora/x86_64/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
EOF

Alternatively, you can verify the repository was added using the dnf repolist command.

dnf repolist | grep anydesk

Example output:

[joshua@fedora-linux ~]$ dnf repolist | grep anydesk
anydesk                        AnyDesk Fedora Linux

Install AnyDesk via DNF Command

Run the following command to install AnyDesk on Fedora:

sudo dnf install anydesk

AnyDesk Fedora Installation Troubleshoot Tips

There is an issue with all current Fedora distributions with the following error when installing AnyDesk.

nothing provides libgtkglext-x11-1_0-0 needed by anydesk-.....

Or you may find this error instead:

nothing provides libpangox-1.0.so.0()(64bit) needed by anydesk.....

To try and fix this error, install the following package that hopefully should solve the libpangox error:

sudo dnf install redhat-lsb-core

Next, run the following command.

sudo dnf --releasever=32 install pangox-compat.x86_64

Method 2: Install AnyDesk via Flatpak and Flathub

Enable Flathub for AnyDesk

First, ensure your system incorporates the Flathub repository, which hosts various applications, including AnyDesk. If not already added, use the command below to add the Flathub repository to Flatpak:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

This command will incorporate the Flathub repository into Flatpak, simplifying the subsequent application installation steps.

Install AnyDesk via Flatpak Command

With Flatpak and Flathub now ready, you can proceed to install AnyDesk by issuing the following command:

flatpak install flathub com.anydesk.Anydesk

This command initiates a search for the AnyDesk package within the Flathub repository and begins its installation on your system.

Troubleshooting Flathub Activation on Fedora Linux

Sometimes, Flathub may not activate even after you import it on Fedora Linux. To fix this issue, run the following command:

flatpak remote-modify --enable flathub

This command corrects Flathub activation issues, guaranteeing smooth installation and operation of AnyDesk on your Fedora Linux system.

Launching the AnyDesk User Interface

CLI Commands to Launch AnyDesk

Open it quickly using the command line terminal with the command:

anydesk

If you installed the software using Flatpak, launch the Flatpak installation of AnyDesk with the command:

flatpak run com.anydesk.Anydesk

GUI Path to Launch AnyDesk

Desktop users who prefer not to use the command line terminal should open the AnyDesk GUI by following the path:

Activities > Show Applications > AnyDesk

Additional AnyDesk Commands

Update AnyDesk

The software should update itself with your system packages for desktop users using the DNF package manager. Use the following command in your terminal for users who want to check manually:

sudo dnf update --refresh

Flatpak installations can run the blanket-update check command with the following:

flatpak update

Remove AnyDesk

When you no longer want the video conference software installed on your system, use the following command that matches your original installation method.

DNF Remove Method For AnyDesk Installations

sudo dnf remove anydesk

Remove the repository if you plan not to re-install AnyDesk again.

sudo rm /etc/yum.repos.d/anydesk.repo

Flatpak Remove Method For AnyDesk Installations

Lastly, if you utilized Flathub to install AnyDesk, just run the following command to remove it:

flatpak run com.anydesk.Anydesk

Conclusion

Installing AnyDesk on your Fedora system through the official RPM mirror ensures that you have the latest version of this powerful remote desktop tool, with the convenience of receiving future updates directly from AnyDesk. The Flatpak method offers an alternative for those who prefer a more isolated environment and potentially easier update management. By keeping AnyDesk updated, you can maintain secure and efficient remote access to your devices, making it an indispensable tool for remote work and support on Fedora.

Leave a Comment