Last active
January 30, 2023 20:22
-
-
Save radiantly/34b7ec5d4750c5718b2e3db6a6818ecd to your computer and use it in GitHub Desktop.
Installing zimdump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UPDATE: zim-tools is now available in Alpine linux Edge respository, so can be installed directly. | |
# See below https://gist.github.com/radiantly/34b7ec5d4750c5718b2e3db6a6818ecd#gistcomment-3236401 for more info | |
# Installing zimdump on ubuntu (in a Docker container, so that we don't clutter our ecosystem) | |
# If you need help installing docker, look here: https://gist.github.com/radiantly/0090d6cc65dc3d4b8eb4ce847050ed80 | |
# Navigate to the folder where your zim file is located. | |
docker run –rm -it -v $(pwd):/workdir -w /workdir ubuntu:18.04 bash | |
# Installing dependencies | |
apt update && apt install -y git cmake ninja-build automake build-essential | |
# Cloning OpenZIM's zim-tools directory from github | |
git clone https://github.com/openzim/zim-tools | |
# Configuring and building | |
cd zim-tools | |
./configure | |
mkdir build | |
meson . build | |
cd build | |
ninja-build | |
# Running zimdump | |
./src/zimdump | |
# This script is not meant to be run, this is for reference of the commands needed to install zimdump. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this gist.
Looks like the latest zim-tools are available as a package for Alpine Linux edge.