unparser command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
unparser: command not found
or when using sudo you get the following error message
sudo: unparser: command not found
Solutions to unparser: command not found
How To Fix unparser: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu unparser is provided by ruby-unparser package.
ruby-unparser is:
Unparser allows you to generate equivalent source for parser gem AST nodes.
The following constraints apply:
* No support for macruby extensions
* Only support for the modern AST format
* Only support for Ruby >= 2.5
It serves well for mutant mutators and the in-memory vendoring for self hosting, and other tooling.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-unparser
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-unparser.
sudo apt -y install ruby-unparser
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-unparser
Summary
In this tutorial we learn how to fix unparser command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.