fiarith command not found

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

Introduction

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

fiarith: command not found

or when using sudo you get the following error message

sudo: fiarith: command not found

Solutions to fiarith: command not found

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

In Ubuntu fiarith is provided by fitsh package.

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!

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

sudo apt-get -y install fitsh

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

You can also use apt command to install fitsh.

sudo apt -y install fitsh

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

sudo aptitude install fitsh

Summary

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