fits2table command not found

In this troubleshooting guide we learn how to fix fits2table command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

fits2table: command not found

or when using sudo you get the following error message

sudo: fits2table: command not found

Solutions to fits2table: command not found

How To Fix fits2table: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fits2table is provided by casacore-tools package.

casacore-tools is:

The casacore package contains the core libraries of the old AIPS++/CASA (Common Astronomy Software Applications) package. This split was made to get a better separation of core libraries and applications.

This package contains the tools built with CASA core:

  • taql - query language for casacore tables
  • measuresdata - create data tables for measures
  • imageregrid, imagecalc, showtable, showtablelock, findmeastable, fits2table, imreorder, casahdf5support, msselect, image2fits, imageslice, etc.

To fix this problem, we can install more using the command below.

sudo apt-get -y install casacore-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install casacore-tools.

sudo apt -y install casacore-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install casacore-tools

Summary

In this tutorial we learn how to fix fits2table command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.