Objective

The objective is to install TeamViewer the remote control and desktop sharing software on Ubuntu 16.04 Xenial Xerus Linux

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # - requires given command to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given command to be executed as a regular non-privileged user

Instructions

Prerequisites

We will be using gdebi command to install TeamViewer as it allows us to automatically download all required TeamViewer dependencies. If you have not done so yet install gdebi package:
$ sudo apt-get install gdebi

TeamViewer download

At the time of writing only multi-arch TeamViewer package is available. Use your browser to download Ubuntu version of TeamViewer or execute the below wget command, while updating the below URL is necessary:
$ wget https://downloadus2.teamviewer.com/download/version_12x/teamviewer_12.0.71510_i386.deb

Enable Multi-arch

TeamViewer package also depends on 32bit binaries. From this reason, we need to enable multi-arch on our system by inclusion of i386 repositories:
$ sudo  dpkg --add-architecture i386

Install TeamViewer

At this stage we are ready to install TeamViewer on our Ubuntu 16.04 Xenial Xerus Linux desktop. Execute the below gdebi command:
$ sudo gdebi teamviewer_12.0.71510_i386.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: gcc-6-base:i386 libasound2:i386 libc6:i386 libdbus-1-3:i386 libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libgcrypt20:i386 libgpg-error0:i386 libice6:i386 libjpeg62:i386 liblzma5:i386 libpcre3:i386 libpng12-0:i386 libselinux1:i386 libsm6:i386 libsystemd0:i386 libuuid1:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 zlib1g:i386 

Remote control and meeting solution.
 TeamViewer provides easy, fast and secure remote access and meeting solutions
 to Linux, Windows PCs, Apple PCs and various other platforms,
 including Android and iPhone.
 .
 TeamViewer is free for personal use.
 You can use TeamViewer completely free of charge to access your private
 computers or to help your friends with their computer problems.
 .
 To buy a license for commercial use, please visit http://www.teamviewer.com
 .
 This package contains Free Software components.
 For details, see /opt/teamviewer/doc/license_foss.txt
Do you want to install the software package? [y/N]:y

Start TeamViewer

TeamViewer is now installed and you can start it from command terminal by running:
$ teamviewer
command or by clicking on TeamViewer's icon from Ubuntu's start menu.
TeamViewer Icon start menu Ubuntu 16.04 Xenial Xerus
TeamViewer Ubuntu 16.04 Xenial Xerus install