Ubuntu – When trying to install CrossOver deb I get “Error: Dependency is not satisfiable libpng12-0”

package-managementsoftware installation

I have tried to install libpng12-0 but it still doesn't work.

Here:

screenshot

How do I fix this?

Best Answer

PNG library - runtime has been upgraded from libpng12-0 to libpng16-16 in Ubuntu 18.04 and later (at least up to 19.10). To install it open the terminal and type:

sudo apt install libpng16-16  

Create a symbolic link at /lib/x86_64-linux-gnu/libpng12.so.0 which references to file /lib/x86_64-linux-gnu/libpng16.so.16

sudo ln -s /lib/x86_64-linux-gnu/libpng16.so.16 /lib/x86_64-linux-gnu/libpng12.so.0