fitsort command not found

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

Introduction

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

fitsort: command not found

or when using sudo you get the following error message

sudo: fitsort: command not found

Solutions to fitsort: command not found

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

In Ubuntu fitsort is provided by qfits-tools package.

qfits-tools is:

qfits is a stand-alone library written in C to interact with files complying with the FITS format, which is a data format most used in astronomy.

This package includes tools for simple manipulations of FITS files.

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

sudo apt-get -y install qfits-tools

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

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

sudo apt -y install qfits-tools

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

sudo aptitude install qfits-tools

Summary

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