ds9 command not found

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

Introduction

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

ds9: command not found

or when using sudo you get the following error message

sudo: ds9: command not found

Solutions to ds9: command not found

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

In Ubuntu ds9 is provided by saods9 package.

saods9 is:

SAOImage DS9 is an astronomical imaging and data visualization application. DS9 supports FITS images and binary tables, multiple frame buffers, region manipulation, and many scale algorithms and colormaps. It provides for easy communication with external analysis tasks and is highly configurable and extensible via XPA and SAMP.

All versions and platforms support a consistent set of GUI and functional capabilities.

DS9 supports advanced features such as 2-D, 3-D and RGB frame buffers, mosaic images, tiling, blinking, geometric markers, colormap manipulation, scaling, arbitrary zoom, cropping, rotation, pan, and a variety of coordinate systems.

The GUI for DS9 is user configurable. GUI elements such as the coordinate display, panner, magnifier, horizontal and vertical graphs, button bar, and color bar can be configured via menus or the command line.

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

sudo apt-get -y install saods9

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

You can also use apt command to install saods9.

sudo apt -y install saods9

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

sudo aptitude install saods9

Summary

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