AnyDesk is a remote desktop application software that is available for all Linux users. This application provides smooth remote access to your system running Windows, Mac OS, and Linux. In this article, we will explain to you how to install AnyDesk on your Rocky Linux 8 Linux system using the command line.

Once AnyDesk is installed on your Rocky Linux 8, you can access your friend’s or team member’s systems. AnyDesk is a user-friendly interface and has quite simple administration tools and setup which enables you to easily control the remote systems.

Installation of AnyDesk on Rocky Linux 8

We can install AnyDesk on Rocky Linux 8 by using the YUM repository with RPM packages. Or you can also manually download the RPM package on your Rocky Linux system and then install it, but, using this method, you need to update the AnyDesk application manually. Let’s move toward the installation process.

To start the installation process, open the terminal on your Rocky Linux system. For that purpose, click on the top right corner ‘Activities’ option and click on the terminal icon from the left sidebar of your desktop. Or you can also open the terminal using the keyboard shortcut Ctrl + Alt + t.

To install AnyDesk on Rocky Linux 8 Linux distribution you have to perform the following steps:

Step 1: Add AnyDesk repository

Add the AnyDesk repository to your Rocky Linux 8 system by using the following command on the terminal:

$ cat > /etc/yum.repos.d/AnyDesk-CentOS.repo << "EOF"
[anydesk]
name=AnyDesk CentOS - stable
baseurl=http://rpm.anydesk.com/centos/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
EOF

Add AnyDesk Repository Don’t worry about the word CentOS here, the CentOS repository from AnyDesk and the AnyDesk version is fully compatible with Rocky Linux.

Step 2: Update the system

Update your yum repository by typing the following command on the terminal:

$ sudo yum update

Step 3: Install AnyDesk

Once the AnyDesk repository has been successfully added to your Rocky Linux 8 system, then you will install the AnyDesk on your system using the yum or dnf package manager. Using the following commands you can easily install AnyDesk on your Rocky Linux 8 system.

Run the below-shared command on the terminal.

$ sudo dnf makecache

Make cache

The above command will import the GPG key of AnyDesk on your system. Enter ‘y’ to continue the process. In the end, you will see the message ‘Metadata cache created’.

Now, you will install the redhat-lsb core packages by using the below-given command:

$ sudo dnf install -y redhat-lsb-core

It will take some time to install all packages on your system.

Install prerequisites

Finally, execute the following command to install AnyDesk application along with all dependencies:

$ sudo dnf install anydesk

Install AnyDesk

Press ‘y’ to agree to import the GPG key and again enter ‘y’ to start the installation of AnyDesk on your Rocky Linux 8 system.

Proceed with installation

Step 4: Check AnyDesk version

You can check the AnyDesk Installed version on your system by using the following command:

$ rpm -qi anydesk

Check AnyDesk installation

Step 5: Launch AnyDesk

AnyDesk services automatically restart after a successful installation of AnyDesk application. You can check the status of the service by using the below-given command:

$ systemctl status anydesk.service

Start AnyDesk

AnyDesk services should be enabled on your system as well. Check this by use of the following command:

$ systemctl is-enabled anydesk.service

Enable systemd service

Now, launch the AnyDesk using the desktop GUI. Click on the ‘Activities’ and type AnyDesk in the application search bar. You will see the icon of AnyDesk on the screen as follows:

AnyDesk Icon

Click on the AnyDesk to launch it. The following window will display on the system:

AnyDesk on Rocky Linux

To launch AnyDesk application using the terminal, just simply right the ‘AnyDesk’ on the terminal window.

Conclusion

In this article, we have learned how to install AnyDesk on a Linux distribution Rocky Linux 8 using the terminal commands. We have executed different commands on the terminal to install AnyDesk along with all dependencies. Now, AnyDesk is installed on your system. A remote user required your AnyDesk address to access your computer from a remote location. You can enjoy its benefits on your Rocky Linux 8 system.

How to Install AnyDesk on Rocky Linux

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn