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

Asked by Tom Gertin

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:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
Tom Gertin (tgertin) said :
#2

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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

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

Revision history for this message
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"

Revision history for this message
Tom Gertin (tgertin) said :
#5

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