How To Install kstars on Debian 10

In this tutorial we learn how to install kstars on Debian 10. kstars is desktop planetarium, observation planning and telescope control

Introduction

In this tutorial we learn how to install kstars on Debian 10.

What is kstars

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.

There are three ways to install kstars on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kstars Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install kstars using apt-get by running the following command:

sudo apt-get -y install kstars

Install kstars Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kstars using apt by running the following command:

sudo apt -y install kstars

Install kstars Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install kstars using aptitude by running the following command:

sudo aptitude -y install kstars

How To Uninstall kstars on Debian 10

To uninstall only the kstars package we can use the following command:

sudo apt-get remove kstars

Uninstall kstars And Its Dependencies

To uninstall kstars and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove kstars

Remove kstars Configurations and Data

To remove kstars configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge kstars

Remove kstars configuration, data, and all of its dependencies

We can use the following command to remove kstars configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kstars

References

Summary

In this tutorial we learn how to install kstars on Debian 10 using different package management tools like apt, apt-get and aptitude.