As you may know, Teamviewer is a freeware software for remote control via the internet. For Linux, Teamviewer includes a bundled version of Wine, so the users do not need to install wine by hand.
The latest version available is Teamviewer 14, which has been released a while ago.
Due to the fact that it is available via a repository, installing Teamviewer on Ubuntu 18.10 Cosmic Cuttlefish, Ubuntu 18.04 Bionic Beaver, Linux Mint, Elementary OS, Debian and other systems that use deb packages.
All you neeed to do is download the key and install it to your system, add the repository, update the local repository index and install the teamviewer package:
$ cd /tmp
$ wget https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc
$ sudo apt-key add TeamViewer2017.asc
$ sudo sh -c 'echo "deb http://linux.teamviewer.com/deb stable main" >> /etc/apt/sources.list.d/teamviewer.list'
$ sudo apt update
$ sudo apt install teamviewer
Optional, to remove teamviewer, do:
$ sudo apt-get remove teamviewer