kjs5 command not found

In this troubleshooting guide we learn how to fix kjs5 command not found error message

Introduction

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

kjs5: command not found

or when using sudo you get the following error message

sudo: kjs5: command not found

Solutions to kjs5: command not found

How To Fix kjs5: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kjs5 is provided by libkf5kjs-dev package.

libkf5kjs-dev is:

Addon library to Qt which adds JavaScript scripting support.

This package is part of KDE Frameworks 5.

This package contains the development files.

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

sudo apt-get -y install libkf5kjs-dev

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

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

sudo apt -y install libkf5kjs-dev

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

sudo aptitude install libkf5kjs-dev

Summary

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