kstars command not found

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

Introduction

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

kstars: command not found

or when using sudo you get the following error message

sudo: kstars: command not found

Solutions to kstars: command not found

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

In Ubuntu kstars is provided by kstars package.

kstars is:

KStars is a scientifically accurate desktop planetarium, visualising a graphical simulation of the night sky from any location on Earth, at any date and time. The display includes 130,000 stars, 13,000 deep-sky objects, all 8 planets, the Sun and Moon, and thousands of comets and asteroids. KStars addresses students and amateur astronomers of all levels.

The database of known objects can be extended and updated from local or remote databases, which is prepared for in a user-extendable interface. KStars suggests observations of particular interest like conjunctions with respect to the location of the user. And for user-selected targets it proposes the ones that are best-observable.

The software may be used for planning experiments around the globe, e.g. for remote controlled commercial services. But KStars also features an INDI interface to control local telescopes and cameras. Users with programming experience can script it via the KDE desktop bus.

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

sudo apt-get -y install kstars

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

You can also use apt command to install kstars.

sudo apt -y install kstars

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

sudo aptitude install kstars

Summary

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