How to Set Up AnyDesk Remote Desktop on Ubuntu

AnyDesk is a popular remote desktop software that allows users to connect and control other computers remotely. It’s lightweight, fast, and ideal for anyone who needs to access their systems from afar, troubleshoot remotely, or collaborate with others on their devices.

In this guide, we’ll cover how to install AnyDesk on Ubuntu in a few simple steps.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.

Installing AnyDesk in Ubuntu

First, it’s a good idea to update your system packages to ensure you’re working with the latest versions.

sudo apt update && sudo apt upgrade -y

Next, you need to add the AnyDesk repository key, which confirms the authenticity of the software.

wget -qO- https://keys.anydesk.com/repos/DEB-GPG-KEY | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/anydesk.gpg > /dev/null

Next, add the AnyDesk repository so that your system knows where to find AnyDesk when you install it.

echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk.list

Now that the AnyDesk repository is added, update the package list again to include the latest packages from the AnyDesk repository:

sudo apt update

With the repository added and the packages list updated, you’re ready to install AnyDesk.

sudo apt install anydesk -y

After installation, you can start AnyDesk from the applications menu, or you can launch it directly from the terminal by typing:

anydesk

When you open AnyDesk for the first time, you’ll see your AnyDesk address on the main window. You can use this address to connect to other computers or share it with others for remote access.

AnyDesk Remote Desktop Software
AnyDesk Remote Desktop Software

Uninstall AnyDesk in Ubuntu

If, for any reason, you want to remove AnyDesk from your system, you can do so by running:

sudo apt remove anydesk -y

This command removes AnyDesk, but it keeps the AnyDesk repository in your sources list. If you also want to remove the repository, delete the anydesk.list file:

sudo rm /etc/apt/sources.list.d/anydesk.list

Then, update your package list:

sudo apt update
Conclusion

You have successfully installed AnyDesk on your Ubuntu system! Now you can easily connect to and control remote devices, collaborate with others, or assist people with technical issues from afar.

AnyDesk offers a user-friendly interface with quick connection speeds, making it a reliable choice for remote desktop needs.

If this article helped, with someone on your team.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
TecMint has been free for 14 years. Help keep it that way.
Google AI Overviews and tools like ChatGPT have cut into search traffic for independent tech sites like TecMint. Running this site costs over $2,000 every month for hosting, infrastructure, and paying authors to keep the content accurate and tested.

If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.
☕ Buy Me a Coffee
Ravi Saive
I'm Ravi Saive, an award-winning entrepreneur and founder of several successful 5-figure online businesses, including TecMint.com, GeeksMint.com, UbuntuMint.com, and the premium learning hub Pro.Tecmint.com.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

2 Comments

Leave a Reply
  1. Warning: apt-key is deprecated. Instead, manage keyring files in trusted.gpg.d (see apt-key(8)).

    Instead of using the deprecated apt-key command to add keys, use the updated method.

    Replace:

    wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -
    

    with:

    wget -qO- https://keys.anydesk.com/repos/DEB-GPG-KEY | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/anydesk.gpg > /dev/null
    

    This way, if you delete the repository, you can also easily remove the key file.

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.

Free Course
Get a free Linux course before you go.
Subscribe to TecMint Weekly and get the Learn Linux 7 Days Crash Course free. Read by 34,000+ Linux professionals every Thursday.
Something went wrong. Please try again.
Check your email for a magic link to get started.