How to Install AnyDesk on Rocky Linux EL9 or EL8


Installing AnyDesk on Rocky Linux via the command line terminal can be an efficient and effective method for those familiar with their operating system’s shell. This installation process requires users to enter a few commands to retrieve the software package, install it, and start using it.

Once the program is installed, users can access another computer from anywhere they may have an internet connection. This can prove especially useful when technology users need assistance or cannot access a desktop at their location. The following guide will provide how to install AnyDesk on Rocky Linux 9 or Rocky Linux 8 distributions.

Step 1: Update Rocky Linux

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

sudo dnf upgrade --refresh

Step 2: Install AnyDesk

Import AnyDesk RPM

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

AMD64 (64-bit) users:

sudo tee /etc/yum.repos.d/anydesk.repo<<EOF
[anydesk]
name=AnyDesk Rocky Linux
baseurl=http://rpm.anydesk.com/centos/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@rocky-linux ~]$ dnf repolist | grep anydesk
anydesk                 AnyDesk Rocky Linux

Run AnyDesk Installation Command

Finally, install AnyDesk, with the following command.

sudo dnf install anydesk -y

Optionally, you can check the version installed using the following command.

anydesk --version

Example output:

[joshua@rocky-linux ~]$ anydesk --version
6.2.1[

Step 3: Launch AnyDesk

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.

anydesk

Also, while in the terminal, you can also grab your AnyDesk ID using the following command.

anydesk --get-id

Then you can connect to other computers or remote systems using the ID in a terminal command.

anydesk <AnyDesk ID>

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.

Example:

Once open, you can begin using AnyDesk by connecting to a remote PC by getting its address.

Example:

Step 4: Additional Commands & Tips

Update AnyDesk

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

sudo dnf update --refresh

Remove AnyDesk

When you no longer want the video conference software installed on your system, use the following command to remove it.

sudo dnf autoremove anydesk

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

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

Conclusion

In the tutorial, you have learned how to install AnyDesk on Rocky Linux EL9 or EL8 using the official repository so that you will have the latest version installed at all times. Overall, AnyDesk does work well with Enterprise Linux distributions, given they are popular in workplaces and scenarios where AnyDesk shines, so it should work well.

See also
How to Install VSCodium on Rocky Linux EL9 or EL8

Leave a Comment

Share to...