How to install missing "libpng12" on Ubuntu

Tobias
Tobias Posts: 13 Staff member 🤠

Installation of libPNG12-0

 

This library is required by TeamViewer 11. It will not install unless the dependency is properly satisfied.

 

To make this library working on ubuntu, make sure you perform the following steps:

 

1. Add a repository



2. Update the Advanced Packaging Tool



3. Install the library



4. Install TeamViewer

5. Disable the repository (Optional)

 

The following commands will help you to perform the process:

 
sudo apt-add-repository "deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe"
sudo apt-get update
sudo dpkg -i teamviewer_i386.deb
sudo apt-get install -f

 

#optional remove the line 'deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe'  from /etc/apt/sources.list using your favorite editor with sudo priviledges