fileroot command not found

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

Introduction

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

fileroot: command not found

or when using sudo you get the following error message

sudo: fileroot: command not found

Solutions to fileroot: command not found

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

In Ubuntu fileroot is provided by wcstools package.

wcstools is:

WCSTools is a set of software utilities, written in C, which create, display and manipulate the world coordinate system of a FITS or IRAF image, using specific keywords in the image header which relate pixel position within the image to position on the sky. Auxiliary programs search star catalogs and manipulate images.

This package contains the binary tools.

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

sudo apt-get -y install wcstools

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

You can also use apt command to install wcstools.

sudo apt -y install wcstools

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

sudo aptitude install wcstools

Summary

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