There are problems when I try to install teamviewer in ubuntu 16.10, due to dependencies.
step 1. Download teamviewer 11 from official website.
step 2. In terminal, execute these commands:
$sudo dpkg -i teamview*.deb
there will be errors appearing, and $sudo apt-get install -f does not solve the problem.
step 3. Manually install lost libraries in this way:
$sudo apt-get install libdbus-1-3:i386 libasound2:i386 libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libjpeg62:i386 libpng12-0:i386 libsm6:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 zlib1g:i386 libc6:i386
still it will remind you libpng12-0:i386 does not have a candidate to install. so we just skip this one, install the others.
step 4. Install libpng12-0
It seems in ubuntu 16.10 they changed libpng12-0 to libpng16-16, but teamviewer relies on libpng12-0, so we manually install this one.
download libpng12-0 from here: http://packages.ubuntu.com/xenial/i386/libpng12-0/download
then install it.
$sudo dpkg -i libpng12-0*.deb
step 5. Reinstall teamviewer
Now we can redo step 2 command, it shall work this time.