An installation process is downloading a .tar.gz archive, then extract the files to a destination directory. However, not all the files in the archive are requi
.tar.gz
You can take a look at this post to find a good solution.
By the way, in the zlib-documentation you'll see that you can specify a "buffer" calling .unzip().