1.Open your terminal and download the latest TeamViewer .deb package
$wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
2.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.