Skip to main content
3 of 4
it's not always disabled
Jack O'Connor
  • 10.7k
  • 4
  • 51
  • 54

You can do this with the OpenSSL command line tool:

openssl zlib -d < $IN > $OUT

Unfortunately, at least on Ubuntu, the zlib subcommand is disabled in the default build configuration (--no-zlib --no-zlib-dynamic), so you would need to compile openssl from source to use it. But it is enabled by default on Arch, for example.

Jack O'Connor
  • 10.7k
  • 4
  • 51
  • 54