This article covers how to install TeamViewer on Ubuntu 20.04 via the command-line and GUI. You can also explore our related how-tos for Debian and CentOS .
TeamViewer is a cross-platform solution that can be used for remote control, desktop sharing and file transfer between computers.
To Install TeamViewer on Ubuntu:
1. Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon.
Download the latest TeamViewer .deb package with the following wget command:
$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
2. Install TeamViewer
Install the TeamViewer .deb package by issuing the following command as a user with sudo privileges:
$ sudo apt install ./teamviewer_amd64.deb
At the prompt Do you want to continue? [Y/n], type Y to continue the installation.
To Uninstall TeamViewer from Ubuntu System:
1. In order to uninstall TeamViewer from your system without removing any configurations you might have made, enter the following command as sudo:
$ sudo apt remove teamviewer
The system will prompt you with a Y/n option in order to begin the uninstall procedure. Please enter Y and hit Enter to begin. TeamViewer will then be removed from your system.
2. If you have made any configurations, you can remove TeamViewer and all those by using the following command:
$ sudo apt purge teamviewer