Install AnyDesk in Ubuntu Server Raspberry PI 4 image via Terminal

I've been struggling to install AnyDesk in a flashed Ubuntu Server 20.04 image for Raspberry PI 4.

What I've done is the following:

  1. delete and clear all other previous installations:

    sudo apt-get purge anydesk

    sudo apt-get autoclean

    sudo apt-get autoremove

  2. Adding armhf arquitechture (after step 1 some things must be reinstalled again):

    sudo dpkg --add-architecture armhf

    sudo apt-get update

    sudo apt-get install crossbuild-essential-armhf

  3. Install AnyDesk from .deb file:

    wget http://deb.anydesk.com/pool/main/a/anydesk/anydesk_6.0.1_armhf.deb

    sudo dpkg -i anydesk_6.0.1_armhf.deb

    sudo apt install ./anydesk_6.0.1_armhf.deb

When I run the last command line of step 3, I get a message saying that anydesk:armhf will be installed instead of anydesk_6.0.1_armhf.deb, afterwards, a report with metrics for installed, updated, and uninstalled packages appears saying 0 for all of them, saying anydesk is already installed to its last version.

So I try to run "anydesk" from the Terminal and nothing else comes up. I would try to do so directly within the PI's desktop, and not through terminal, but I'm working remotely and that's not a possibility at the moment.

How could I solve this?

Thanks in advance for any valuable input.


Solution 1:

You are missing

sudo apt-get --fix-broken install

after

sudo dpkg -i anydesk_6.0.1_armhf.deb

I just tried your ways and it worked like a charm.

I am using anydesk_6.1.1_armhf.deb.