kiwix-compile-resources command not found

In this troubleshooting guide we learn how to fix kiwix-compile-resources command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

kiwix-compile-resources: command not found

or when using sudo you get the following error message

sudo: kiwix-compile-resources: command not found

Solutions to kiwix-compile-resources: command not found

How To Fix kiwix-compile-resources: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kiwix-compile-resources is provided by libkiwix-dev package.

libkiwix-dev is:

Kiwix is an offline Wikipedia reader. libkiwix provides the software core for Kiwix, and contains the code shared by all Kiwix ports (Windows, Linux, OSX, Android, etc.).

This package contains development files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libkiwix-dev

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libkiwix-dev.

sudo apt -y install libkiwix-dev

Or if you have aptitude installed you can use the following command.

sudo aptitude install libkiwix-dev

Summary

In this tutorial we learn how to fix kiwix-compile-resources command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.