This guide explains how to compile zim-tools on an Ubuntu workstation and use zimdump to extract the files from a ZIM archive.
zim-tools
zimdump