uuagc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
uuagc: command not found
or when using sudo you get the following error message
sudo: uuagc: command not found
Solutions to uuagc: command not found
How To Fix uuagc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu uuagc is provided by uuagc package.
uuagc is:
The Attribute Grammar system can be used to annotate the production rules of a grammar with inherited and synthesised attributes. The values of the attributes can be determined while parsing/traversing the abstract syntax tree and will give the semantic value of the tree.
The inherited attributes are values which are passed downwards through the abstract syntax tree and the synthesised attributes are passed upwards. Haskell expressions are used to describe the computation of the attributes.
The uuagc compiler takes a set files in which the attribute grammar is defined and generates a Haskell file that contains the data type definitions corresponding to the grammar, semantic functions and catamorphisms (functions that take a syntax tree and return the semantic value of that tree)
The (Utrecht University) Attribute Grammar system is part of the Haskell Utrecht Tools set.
To fix this problem, we can install more using the command below.
sudo apt-get -y install uuagc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install uuagc.
sudo apt -y install uuagc
Or if you have aptitude installed you can use the following command.
sudo aptitude install uuagc
Summary
In this tutorial we learn how to fix uuagc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.