How to Install TeamViewer on Ubuntu 18.04/20.04 LTS
$ sudo apt install gdebi-core
Next, download the latest TeamViewer package:
$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Lastly, install the previously downloaded package using below command:
$ sudo gdebi teamviewer_amd64.deb
y when prompted.
The TeamViewer is now installed. Use your start menu to locate and start TeamViewer. Alternatively, start TeamViewer from the command line: