How to Install Kiwix-Serve on Debian Latest
Kiwix-Serve is a lightweight web server that allows users to access ZIM files (offline Wikipedia) and other content on the web browser. In this tutorial, we will show you how to install Kiwix-Serve on Debian Latest.
Prerequisites
Before proceeding with the installation process, make sure your system is up-to-date with the following command:
sudo apt update && sudo apt upgrade
Installing Kiwix-Serve
Follow these steps to install Kiwix-Serve:
- Download the latest version of Kiwix-Serve from the official website:
wget https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-x86_64.tar.gz
- Extract the downloaded file by running the following command:
tar -xzvf kiwix-tools_linux-x86_64.tar.gz
- Navigate into the extracted folder by running the following command:
cd kiwix-tools_linux-x86_64/
- Move the kiwix-serve binary file to /usr/local/bin/ directory:
sudo mv kiwix-serve /usr/local/bin/
- To check if the installation was successful, run the following command to verify:
kiwix-serve --version
If installed successfully, it will show the latest version of Kiwix-Serve.
Serving Content
Follow these steps to serve content using Kiwix-Serve:
Download a ZIM file from https://wiki.kiwix.org/wiki/Content_in_all_languages.
Place the ZIM file in a directory of your choice.
Start Kiwix-Serve in that directory using the following command:
kiwix-serve --port=8000 --library /path/to/zim/dir
- Now, open a web browser and enter the following URL:
http://localhost:8000/
- You can browse and search for content on the web browser.
Conclusion
Kiwix-Serve is an essential tool for serving offline content on a local area network. In this tutorial, we have shown you how to install Kiwix-Serve on Debian Latest and serve content on the web browser.