Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Package ‘libpng12-0’ has no installation candidate Ubuntu 18.0.4

    Today I face an issue in my Ubuntu 18.0.4 environment when I was trying to install wkhtmltopdf. I was getting below error while installing wkhtmlpdf,

    Actually few dependencies were missing in my installation. So I started installing them one by one. Then while installing libpng12-0 using below command,

    I was getting below error,

    So in order to install libpng12-0 library, I followed below steps,

    • 1) Download libpng12-0 depending on your system arch (32 or 64 bit) –
    • Then install the downloaded package using below command,

    This is how I have successfully installed this package.

    We would love the hear your thoughts, suggestions, and questions in the comments below !!

    . . .

    Comments (3)

    Add Your Comment

  • robin
    Excellent, worked like a charm
    • Archana Tiwari
      Hello Robin,
      Thanks for the Appreciation. In case of any further queries, please drop us a mail at
  • styropyro
    Great It worked for me too! Thanks
  • Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again