How To Install iraf-fitsutil on Kali Linux

In this tutorial we learn how to install iraf-fitsutil on Kali Linux. iraf-fitsutil is FITS utilities for IRAF

Introduction

In this tutorial we learn how to install iraf-fitsutil on Kali Linux.

What is iraf-fitsutil

iraf-fitsutil is:

Several tasks to operate of FITS files and extensions from within IRAF, like copying, extension extraction, conversion etc.

The following tasks are available:

  • fgread: Read a FITS file with FOREIGN extensions
  • fgwrite: Create a FITS file with FOREIGN extensions
  • funpack: Uncompress a FITS file
  • fxconvert: Convert between IRAF image types.
  • fxcopy: Copy FITS files or FITS extension to an output FITS file
  • fxdelete: Delete FITS extensions in place
  • fxdummyh: Create a dataless single FITS file
  • fxextract: Extract a FITS extension
  • fxheader: List one line of header description per FITS unit
  • fxinsert: Insert FITS files or extensions into another FITS file
  • fxplf: Converts a pixel list file into a BINTABLE extension
  • fxsplit: Split a multiple extension FITS file into single FITS files
  • ricepack: Rice compress a FITS file
  • sum32: Compute the 32-bit FITS 1’s complement checksum

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

Install iraf-fitsutil Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install iraf-fitsutil

Install iraf-fitsutil Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install iraf-fitsutil

Install iraf-fitsutil Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install iraf-fitsutil

How To Uninstall iraf-fitsutil on Kali Linux

To uninstall only the iraf-fitsutil package we can use the following command:

sudo apt-get remove iraf-fitsutil

Uninstall iraf-fitsutil And Its Dependencies

To uninstall iraf-fitsutil and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove iraf-fitsutil

Remove iraf-fitsutil Configurations and Data

To remove iraf-fitsutil configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge iraf-fitsutil

Remove iraf-fitsutil configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge iraf-fitsutil

Dependencies

iraf-fitsutil have the following dependencies:

References

Summary

In this tutorial we learn how to install iraf-fitsutil package on Kali Linux using different package management tools: apt, apt-get and aptitude.