Teamviewer is a popular remote desktop access software. Often, Linux users install Teamviewer from .deb package. Users need to upgrade the software manually whenever new version arrives. Now Linux users can install Teamviewer by adding software repository. This method is convenient to keep the software new all time. Teamviewer update along with updating Linux operating system. This method can apply to install Teamviewer on Ubuntu and Debian. Following are the steps to add and install Teamviewer from DEB repository. Open a Terminal and apply the following commands for each purpose.
Add the repository address to the system (change editor name, here I am using Mousepad)
sudo mousepad /etc/apt/sources.list.d/teamviewer.list
Add software repository address in the file,
deb https://linux.teamviewer.com/deb stable main
Save and close the file.
Add the repository key,
sudo su
wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | apt-key add -
sudo apt update
sudo apt install teamviewer
The software will appear on Applications > Internet after the successful installation.
Reference
https://community.teamviewer.com/English/kb/articles/30666-how-to-update-teamviewer-on-linux-via-repository