How To Uninstall and Install AnyDesk Ubuntu 22.04

Updated: July 5, 2022

With AnyDesk, an alternative to Teamviewer, you may access your computer remotely and work from any location without being constrained by the availability of an internet connection. It is a cross-platform, lightweight, and completely free remote desktop program. You will discover how to uninstall and install Anydesk Ubuntu 22.04 LTS in this tutorial. Older Ubuntu versions are also compatible with this guide.

AnyDesk Features

Because AnyDesk contains so many functions that consumers require, AnyDesk is well-liked. Among them are:

  • Supporting transferring files
  • Privacy settings
  • Supporting whiteboard
  • Supporting screen sharing
  • Remote work
  • Remote support

Prerequisite to install AnyDesk Ubuntu 22.04

  • Operating system: I’ll be using Ubuntu 22.04 for this tutorial.
  • Privileges: Verify that Ubuntu has sudo rights enabled.

Install AnyDesk Ubuntu 22.04

You may install AnyDesk Ubuntu 22.04 using one of the two methods demonstrated in this guide. They all have different advantages and disadvantages. Select the one you feel is most appropriate for you.

Using the Repository

Step 1: Update the system

Make sure that all of the packages on your system are up to date before continuing with the tutorial.

sudo apt update && sudo apt upgrade

Step 2: Install all the dependencies

Installing the following dependencies is necessary. Although the majority of these programs are already installed on your system, using the command might help make sure they are. You can verify it by executing this command in the terminal.

sudo apt install apt-transport-https software-properties-common ca-certificates gnupg2 ubuntu-keyring

Step 3: Add the GPG Key

The system requires a key used to sign the packages in order to verify their authenticity when we download them from any repository. In light of this, AnyDesk is also affected. Let’s add the following key to your Ubuntu 22.04 system before adding its repo.

wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo gpg --dearmor -o /etc/apt/keyrings/anydesk.gpg

Step 4: Add AnyDesk Repository in Ubuntu 22.04

In your terminal, execute this Ubuntu command to add it:

echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/anydesk.gpg] http://deb.anydesk.com/ all main' | sudo tee /etc/apt/sources.list.d/anydesk.list

Step 5: We can now install AnyDesk Ubuntu

Run the system update command to update the repository cache and inform the system of the newly added repository and its packages.

sudo apt update

Now, you can install AnyDesk Ubuntu 22.04 by pasting these commands into the terminal and executing them.

sudo apt install anydesk -y

Using Deb binary

A Debian package is a file that ends in .deb and contains software for your Debian system. A .deb is also known as a binary package. This means that the program inside the package is ready to run on your system.

You can install Anydesk Ubuntu 22.04 using Deb binaries if you are new to Ubuntu and are not comfortable using the command line. The steps below should help you install Anydesk on Ubuntu.

Step 1: Download the AnyDesk Deb package

On its official website, we must download the executable binary package in Deb format. Visit it and obtain the Ubuntu/Debian Linux-specific file.

Download AnyDesk Ubuntu from its official website

Step 2: Install AnyDesk Ubuntu from the installer

When the downloading process is complete, you may browse to the folder where the downloaded installer is located, right-click it, select GDebi Package Installer, and then wait for the installation process to complete.

Using Gdebi Package Installer to install AnyDesk

Some Ubuntu users are familiar with the fundamental Ubuntu command line; by using these commands, they can more easily install AnyDesk Ubuntu from the installer. Don’t forget to change the file name to match the installer name in the new file.

cd Downloads
sudo apt install ./anydesk__amd64.deb

Launch AnyDesk Ubuntu

Now type Anydesk as shown below to launch it from the Ubuntu applications menu.

Run AnyDesk from Ubuntu applications

You can run AnyDesk using a command line as well, but I advise using the GUI because it appears more user-friendly.

anydesk

Update AnyDesk Ubuntu

Updates are not necessary for you to worry about. The fact that its package management compiles multiple systems and software upgrades makes it very useful. This suggests that a system update will show up there if an update is available from Ubuntu. However, you can follow these steps to force the system to search for new versions and upgrade AnyDesk if any update is released:

sudo apt update && sudo apt upgrade

Uninstall AnyDesk Ubuntu

When you want to use TeamViewer instead of using AnyDesk, you need to uninstall AnyDesk by using the following command.

sudo apt autoremove anydesk --purge -y
sudo rm /etc/apt/sources.list.d/anydesk.list
sudo rm /usr/share/keyrings/anydesk.gpg

These commands will remove its PPA from your system, which means that you uninstall AnyDesk successfully.

7. Conclusion

In this tutorial, I showed you two ways to install AnyDesk Ubuntu 22.04. This one also helps you uninstall AnyDesk Ubuntu too. Don’t hesitate to contact me if you have any trouble while installing by commenting below this post. I will help you if I can.