How To Install astap-cli on Ubuntu 22.04

In this tutorial we learn how to install astap-cli on Ubuntu 22.04. astap-cli is astrometric (plate) solver, command line version

Introduction

In this tutorial we learn how to install astap-cli on Ubuntu 22.04.

What is astap-cli

astap-cli is:

This package contains a barebone command-line solver compatible with the GUI version of astap.

No pop-up notifier.

It will not accept raw files and will not work with SharpCap since FOV is not stored.

There are three methods to install astap-cli on Ubuntu 22.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 astap-cli Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install astap-cli

Install astap-cli Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install astap-cli

Install astap-cli 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 astap-cli using aptitude by running the following command:

sudo aptitude -y install astap-cli

How To Uninstall astap-cli on Ubuntu 22.04

To uninstall only the astap-cli package we can use the following command:

sudo apt-get remove astap-cli

Uninstall astap-cli And Its Dependencies

To uninstall astap-cli and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove astap-cli

Remove astap-cli Configurations and Data

To remove astap-cli configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge astap-cli

Remove astap-cli configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge astap-cli

References

Summary

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