How To Install TeamViewer On Ubuntu 20.04 / Ubuntu 18.04
TeamViewer is one of the most widely used applications for remote control, desktop sharing, online meetings, web conferencing, and file transfer between computers.
TeamViewer supports Microsoft Windows, Mac OS X, Linux, iOS, and Android operating systems.
You can also access a machine running TeamViewer over a web browser.
Install TeamViewer
Open a terminal and then use the below command to update the repository index.
sudo apt update
Install wget package.
sudo apt install -y wget
Download the latest version (v15.x) of TeamViewer from the official website.
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Install TeamViewer using the apt
command.
sudo apt install -y ./teamviewer_amd64.deb
Start TeamViewer
Start the TeamViewer from Activities >> Search for TeamViewer.

OR
Run the following command in the terminal to open the TeamViewer.
teamviewer
If you are starting the TeamViewer application for the first time, then you would need to accept the TeamViewer’s License Agreement.

You should now get a TeamViewer window with ID and Password.

Conclusion
That’s All. You have successfully installed TeamViewer on Ubuntu 20.04 / Ubuntu 18.04.