In Ubuntu we can install teamviewer by downloading the deb package then use apt install to install it , also we can download the teamviewer tar file then extract it to run it directly.

1.Download teamviewer tar file using Firefox or command wget

wget https://download.teamviewer.com/download/linux/teamviewer_amd64.tar.xz
  1. Extract it using command tar or your gui file browser
tar xf teamviewer_amd64.tar.xz
  1. Run teamviewer from command line or double clicking “teamviewer” in file browser
  1. Probably you need to check if requried libaries been installed or not
./tv-setup checklibs