How to upgrade lastest version of teamviewer on ubuntu?

Download it from their official website :

# 64 bits version
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb 

# or the 32 bits version 
wget http://download.teamviewer.com/download/teamviewer_i386.deb

# or the Raspberry Pi version
wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb

Install it :

sudo dpkg -i teamviewer_*.deb

Install missing dependencies :

sudo apt-get -f install

As you have version 10 or version 12 or current version. First you need to uninstall that version 10 or current installed version and install new version 11 or version 13.

  1. Uninstall version 10 or current version of your computer.

$ sudo apt-get remove teamv*

$ sudo apt-get purge teamviewer

  1. After uninstallation of previous version, install new version using following steps.

  2. Download latest version from official teamviewer website https://www.teamviewer.com/en/download/linux/.

  3. Go to the downloaded directory and run following command.

$ sudo dpkg -i teamviewer_****.deb

$ sudo apt-get -f install

This process will help you little bit.