How To Install starplot on Ubuntu 18.04

In this tutorial we learn how to install starplot on Ubuntu 18.04. starplot is 3-dimensional perspective star map viewer

Introduction

In this tutorial we learn how to install starplot on Ubuntu 18.04.

What is starplot

starplot is:

StarPlot is a GTK+ based program that can be used interactively to view three-dimensional perspective charts of stars. Charts can be re-centered, rotated, or zoomed in or out with a mouse click (this can also, of course, be done via dialog boxes for more precision). Stars may be viewed (or ignored) by spectral class and absolute magnitude.

StarPlot is packaged with starconvert, a utility that converts line-oriented stellar data records to StarPlot format. Most star data files available on the Internet can be converted this way if a short file describing the original file format is provided to starconvert.

There are three methods to install starplot on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install starplot Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install starplot

Install starplot Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install starplot

Install starplot 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install starplot

How To Uninstall starplot on Ubuntu 18.04

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

sudo apt-get remove starplot

Uninstall starplot And Its Dependencies

To uninstall starplot and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove starplot

Remove starplot Configurations and Data

To remove starplot configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge starplot

Remove starplot configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge starplot

References

Summary

In this tutorial we learn how to install starplot package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.