Handy oneliners to get Anydesk or Teamviewer running on Debian-based clients (e.g. Ubuntu).

Update 2024-01-02

Just as the title suggests, two ways to use Teamviewer or Anydesk remote support softwares on Debian-based machines.

  1. Install Teamviewer on default installation (requires root / sudo access!):

    sudo apt purge teamviewer -y ; sudo wget https://download.teamviewer.com/download/linux/teamviewer_i386.deb && sudo dpkg -i teamviewer_i386.deb || sudo apt -f install -y
    

    (32-bit version)

    sudo apt purge teamviewer -y ; sudo wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb && sudo dpkg -i teamviewer_amd64.deb || sudo apt -f install -y
    

    (64-bit version)

    The purge part removes older program versions if already installed (Beware: Previous configs get lost in this process, start from the wget command if relevant to you!). sudo wget downloads the software (sudo is not really necessary here actually), sudo dpkg then tries to install it using the debian package management which will fail due to missing dependencies and thus cause apt to repair the Teamviewer installation (by downloading all necessary packages).

  2. Start Teamviewer on Ubuntu client PC without installation (no root required!)

    wget https://download.teamviewer.com/download/linux/teamviewer_i386.tar.xz && tar xvfJ teamviewer_i386.tar.xz && ./teamviewer/teamviewer
    

    wget downloads the software, tar unpacks it and the last section starts the software.

  3. Get Anydesk installed (all done as root!):

    wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add - && echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list && apt update && apt install anydesk -y
    

    Here the program is provided by using the Anydesk repository.

Hope this helps,

greetings noq2

Comments