How To Install fitsh on Debian 10

Learn how to install fitsh on Debian 10 with this tutorial. fitsh is Software package for astronomical image processing

Introduction

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

What is fitsh

fitsh is:

This software package provides independent binary programs (so called tasks) which performs various steps of astronomical image reduction and data processing. These tasks are designed for execution from a UNIX command line shell or shell script. Each of these tasks performs a specific operation (e.g. transforming an image to another reference frame, search and identifiy stars or other point-like sources, do photometry, transform/display a FITS image to a popular graphics format, …) while the details of a certain operation are specified via command switches and arguments. Therefore this package does not need any higher level operating environment than a standard UNIX shell, however, processing the related data might require a little more knowledge of the used shell itself. If you find this program useful in your research, please cite 2012MNRAS.421.1825P as “2012, MNRAS, 421, 1825”. See also the web page of the project, found at http://fitsh.net/. That page gathers information about the program (including documentation and examples), this is the primary download source of the package itself, and additionally, serves a public forum for the program users in various topics. Bug reports, comments and ideas are welcomed!

There are three methods to install fitsh 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 fitsh Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fitsh

Install fitsh Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fitsh

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

sudo aptitude -y install fitsh

How To Uninstall fitsh on Debian 10

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

sudo apt-get remove fitsh

Uninstall fitsh And Its Dependencies

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

sudo apt-get -y autoremove fitsh

Remove fitsh Configurations and Data

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

sudo apt-get -y purge fitsh

Remove fitsh configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fitsh

Dependencies

fitsh have the following dependencies:

References

Summary

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