Installation of TeamViewer 11 on Ubuntu 18.04
Issue
Installation of the TeamViewer 11 package fails on Ubuntu 18.04 as some dependencies are not installed. Here is the full installation process.
Workaround
Clean/uninstall any trace of previous TeamViewer installations (included config files)
Download the following libpng12 package :
https://packages.ubuntu.com/xenial/i386/libpng12-0/download
Download the following libfreetype6 package (similar link as before) :
https://packages.ubuntu.com/xenial/i386/libfreetype6/download
Download TeamViewer 11 from TeamViewer website :
https://www.teamviewer.com/en/download/previous-versions/#version11
Open a terminal
Install LibPNG12
sudo dpkg -i libpng12-0_1.2.54-1ubuntu1.1_i386.deb
Install TeamViewer 11
sudo dpkg -i teamviewer_i386.deb
Uncompress libfreetype. This will create a folder with the same filename as the package.
ar -xv libfreetype6_2.6.1-0.1ubuntu2.3_i386.deb
Move to the folder where you can find “libfreetype.so.6.12.1” and “libfreetype.so.6” files. Only these two files should be in the folder.
cd ./libfreetype6_2.6.1-0.1ubuntu2.3_i386/usr/lib/i386-linux-gnu/
Copy the files to TeamViewer Library folder
sudo cp * /opt/teamviewer/tv_bin/wine/lib
Run TeamViewer from the console for the first time (I had issues to run it from the main Ubuntu menu on my first try. Then it went fine)
teamviewer