delwcs command not found

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

Introduction

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

delwcs: command not found

or when using sudo you get the following error message

sudo: delwcs: command not found

Solutions to delwcs: command not found

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

In Ubuntu delwcs 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 delwcs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.