How To Install kstars on Debian 9
Introduction
In this tutorial we learn how to install kstars on Debian 9.
What is kstars
kstars is:
KStars is a desktop planetarium for KDE, depicting an accurate 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. It includes tools for astronomical calculations and can control telescopes and cameras.
This package is part of the KDE education module.
There are three methods to install kstars on Debian 9. 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 9
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 9, 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 9 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
Dependencies
kstars have the following dependencies:
References
Summary
In this tutorial we learn how to install kstars package on Debian 9 using different package management tools: apt, apt-get and aptitude.