asy command not found

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

Introduction

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

asy: command not found

or when using sudo you get the following error message

sudo: asy: command not found

Solutions to asy: command not found

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

In Ubuntu asy is provided by asymptote package.

asymptote is:

Asymptote is a powerful script-based vector graphics language for technical drawings, inspired by MetaPost but with an improved C++-like syntax. Asymptote provides for figures the same high-quality level of typesetting that LaTeX does for scientific text.

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

sudo apt-get -y install asymptote

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

You can also use apt command to install asymptote.

sudo apt -y install asymptote

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

sudo aptitude install asymptote

Summary

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