AnyDesk is a remote desktop application software available for all Linux distributions. This application provides smooth remote access control to your Windows, Mac OS, and Linux systems. AnyDesk is also often used for providing remote support. This article will explain how to install AnyDesk remote desktop software 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. Any Desk has a user-friendly interface with relatively simple administration tools and is easy to set up, enabling you to control the remote systems easily.
Installation of AnyDesk on Rocky Linux 8
We can install AnyDesk on Rocky Linux 8 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
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, you will install the AnyDesk on your system using the yum or dnf package manager. You can easily install AnyDesk on your Rocky Linux 8 system using the following commands.
Run the below-shared command on the terminal.
$ sudo dnf makecache
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.
Finally, execute the following command to install AnyDesk application along with all dependencies:
$ sudo dnf 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.
Step 4: Check the AnyDesk version
You can check the AnyDesk Installed version on your system by using the following command:
$ rpm -qi anydesk
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
AnyDesk services should be enabled on your system as well. Check this by use of the following command:
$ systemctl is-enabled anydesk.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:
Click on the AnyDesk icon to launch it on the remote device. The following window will display on the system:
To launch the AnyDesk application using the terminal, run ‘AnyDesk’ command in 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 and all dependencies. Now, AnyDesk is installed on your system. A remote user requires your AnyDesk address to access your computer remotely. You can enjoy its benefits on your Rocky Linux 8 system.