xyacc command not found

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

Introduction

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

xyacc: command not found

or when using sudo you get the following error message

sudo: xyacc: command not found

Solutions to xyacc: command not found

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

In Ubuntu xyacc is provided by iraf-dev package.

iraf-dev is:

IRAF is the “Image Reduction and Analysis Facility”. The main IRAF distribution includes a good selection of programs for general image processing and graphics, plus a large number of programs for the reduction and analysis of optical and IR astronomy data.

This package contains the IMFORT Fortran/C programming interface, and the full SPP/VOS programming environment in which the portable IRAF system and all applications are written.

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

sudo apt-get -y install iraf-dev

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

You can also use apt command to install iraf-dev.

sudo apt -y install iraf-dev

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

sudo aptitude install iraf-dev

Summary

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