cococs command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cococs: command not found
or when using sudo you get the following error message
sudo: cococs: command not found
Solutions to cococs: command not found
How To Fix cococs: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cococs is provided by coco-cs package.
coco-cs is:
Coco/R is a compiler generator, which takes an attributed grammar of a source language and generates a scanner and a parser for this language. The scanner works as a deterministic finite automaton. The parser uses recursive descent. LL(1) conflicts can be resolved by a multi-symbol lookahead or by semantic checks. Thus the class of accepted grammars is LL(k) for an arbitrary k.
To start Coco call cococs, which is a shell script in /usr/bin.
To fix this problem, we can install more using the command below.
sudo apt-get -y install coco-cs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install coco-cs.
sudo apt -y install coco-cs
Or if you have aptitude installed you can use the following command.
sudo aptitude install coco-cs
Summary
In this tutorial we learn how to fix cococs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.