king command not found

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

Introduction

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

king: command not found

or when using sudo you get the following error message

sudo: king: command not found

Solutions to king: command not found

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

In Ubuntu king is provided by king package.

king is:

KiNG (Kinemage, Next Generation) is an interactive system for three-dimensional vector graphics. It supports a set of graphics primitives that make it suitable for many types of graphs, plots, and other illustrations; although its first use was to display macromolecular structures for biophysical research. KiNG builds on Mage, JavaMage, and the “kinemage” (kinetic image) concept to deliver a full-featured Java application with a user-friendly interface and integrated editing features. The KiNG jar file can be used within a web page as a Java applet or Java object to promote easy access to kinemages or coordinate files from a web browser.

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

sudo apt-get -y install king

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

You can also use apt command to install king.

sudo apt -y install king

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

sudo aptitude install king

Summary

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