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

Language:
English Edit question
Status:
Solved
For:
Ubuntu zlib Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2017-12-08
Last query:
2017-12-08
Last reply:
2017-12-08

There may be a PPA here
https://launchpad.net/ubuntu/+ppas?name_filter=zlib

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 https://launchpad.net/ubuntu/+archive/primary/+sourcepub/7499860/+listing-archive-extra
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