astscript-ds9-region command not found

In this troubleshooting guide we learn how to fix astscript-ds9-region command not found error message

Introduction

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

astscript-ds9-region: command not found

or when using sudo you get the following error message

sudo: astscript-ds9-region: command not found

Solutions to astscript-ds9-region: command not found

How To Fix astscript-ds9-region: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu astscript-ds9-region is provided by gnuastro package.

gnuastro is:

GNU Astronomy Utilities (Gnuastro) is a collection of programs (this package) and librarires (libgnuastro14', libgnuastro-dev’) for astronomical data analysis and manipulation. The programs can be run on the command-line for efficient and easy usage and the libraries can be used within C and C++ programs.

This package contains Gnuastro’s programs.

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

sudo apt-get -y install gnuastro

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

You can also use apt command to install gnuastro.

sudo apt -y install gnuastro

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

sudo aptitude install gnuastro

Summary

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