easygen command not found

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

Introduction

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

easygen: command not found

or when using sudo you get the following error message

sudo: easygen: command not found

Solutions to easygen: command not found

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

In Ubuntu easygen is provided by easygen package.

easygen is:

Command easygen is an easy to use universal code/text generator.

It can be used as a text, html or a code generator for arbitrary purposes with arbitrary data and templates. It can be used as a GSL replacement, as it

  • is more easy to define driving data, in form of YML instead of XML
  • has more powerful template engine that based on Go template. You can even write your own function in Go to customize your template.

You can even use easygen as a generic Go template testing tool.

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

sudo apt-get -y install easygen

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

You can also use apt command to install easygen.

sudo apt -y install easygen

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

sudo aptitude install easygen

Summary

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