Cannot install WPS Office [duplicate]

The WPS Office for Linux up to version 10.1.0.5672~a21 ("Alpha21[2016-06-24]") - still depends on a deprecated library since Ubuntu 16.10, mentioned in the error message.

Workaround

Download and install the libpng12-0 version still available for Ubuntu 16.04 (xenial) before installing WPS Office for Linux.


I was having same problem found solution:

Download libpng12-0 package from here

Install package using:

sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb 

Now install WPS office downloaded form here using:

sudo dpkg -i wps-office_10.1.0.5672~a21_amd64.deb 

I have tried this on Ubuntu 16.10 and it's working fine.