How can I upgrade to zlib-1.2.11 on Ubuntu 16.04?

Asked by Tom Gertin on 2017-12-07

How can I upgrade to zlib-1.2.11 on Ubuntu 16.04?

Question information

English Edit question
Ubuntu zlib Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:

There may be a PPA here

Filter for Xenial so you know the PPA has the package for your release

Obviously these come with the usual PPA caveats.

Tom Gertin (tgertin) said : #2

Thanks, but I did not find a suitable package there.

You can always compile it yourself and make a deb file.

Best Manfred Hampl (m-hampl) said : #4

It might be possible to manually install the version for a higher Ubuntu release on a lower one, in this case e.g. the version for zesty (1:1.2.11.dfsg-0ubuntu1) on your xenial system. This very much depends whether the dependencies can be met. I do not see any problematic dependencies with zlib, so this should work without problems.

If you dare to try:
1. find out the zlib-related packages that you currently have installed (e.g with the commands "dpkg -l | grep zlib" and "dpkg -l | grep 1:1.2.8.dfsg-2ubuntu4")
2. manually download the related files in the higher version from
3. manually install the packages with a command like "sudo dpkg -i *.deb"

Tom Gertin (tgertin) said : #5

Thank you very much Manfred! I downloaded and installed the zlib updated packages and this solved my problem! -Tom