How To Install and Uninstall TeamViewer on Ubuntu 20.04

Updated: April 4, 2022

TeamViewer is a cross-platform application that allows us to remote, share desktops, transfer files between computers. It is not installed by default on any Linux distributions such as Ubuntu, …. So this tutorial will provides you some ways to install TeamViewer on Ubuntu 20.04, it also helps you to uninstall TeamViewer too.

What is TeamViewer?

TeamViewer is a computer software that allows for remote access and control of computers and other devices. It was first introduced in 2005, and its capabilities have gradually grown. TeamViewer is proprietary software, however it is free for non-commercial usage and does not require registration.

Prerequisites to install TeamViewer

  • Operating system: Ubuntu 20.04 or newer versions with more than 2GB RAM
  • You are logging a user account with sudo privileges

Prerequisites to install Python Pip

  • Operating system: a Linux machine - CentOS 8 or newer with 2GB RAM (4GB preferable).
  • Computers you want to remote, transfer files or share desktop.
  • You’re logging in as a user with sudo access.

Install TeamViewer on Ubuntu 20.04

TeamViewer is a piece of software that isn’t included in the Ubuntu repositories. As a result, you won’t be able to install it using APT like other applications. We’ll need to get the TeamViewer package from the official TeamViewer repository and install it.

Step 1: Download TeamViewer from offical site

You can go to this page to download TeamViewer to your Ubuntu computer. But you can achieve it easily by using wget commands that are provided by default by all Linux distributions.

wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb

Step 2: Install TeamViewer

Once the downloading process finishes, we can install TeamViewer by following this command.

sudo apt install ./teamviewer_amd64.deb

Don’t forget to change the directory to the one that contains the file you downloaded.

Start TeamViewer on Ubuntu 20.04

After installing this remote application. The TeamViewer application can now be launched by selecting it from the Applications menu and clicking on its icon. When TeamViewer is first launched, it will be required to accept the license agreement by clicking the “Accept License Agreement” button. After that, TeamViewer will launch and display a window that looks like this:

TeamViewer after be installed on Ubuntu

Update TeamViewer on Ubuntu 20.04

After a long time of use, software upgrade is one of the issues that we need to pay attention to. We need to upgrade to promptly fix vulnerabilities found by software developers. As I mentioned above, we can’t install TeamViewer on Ubuntu by using APT, but during the installation process, the TeamViewer repository will be added to our system. So that, in the next updating of your computer, it will check the newer versions, and automatically install them. We can verify it by using using these commands:

cat /etc/apt/sources.list.d/teamviewer.list

If the output result contains this line, it means that TeamViewer will be updated when it has a new version.

deb http://linux.teamviewer.com/deb stable main

Uninstall TeamViewer on Ubuntu 20.04

Have you ever think uninstalling an application in Ubuntu is hard? You are wrong, uninstalling any software, special TeamViewer is an easy process anyone can do. You can uninstall it by running these command in your terminal.

sudo apt purge teamviewer

You can also use something like this instead:

sudo apt remove "teamview*"

Conclusion

In this tutorial, I helped you to install TeamViewer on Ubuntu 20.04, I also you some ways to uninstall TeamViewer too. If you get any questions, don’t hesitate to contact me. I’m very glad to answer them.