genny command not found

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

Introduction

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

genny: command not found

or when using sudo you get the following error message

sudo: genny: command not found

Solutions to genny: command not found

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

In Ubuntu genny is provided by genny package.

genny is:

Until the Go core team include support for generics in Go, genny is a code-generation generics solution.

It allows one to write normal buildable and testable Go code which, when processed by the genny gen tool, will replace the generics with specific types genny - Generics for Go Build Status

This is the program package.

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

sudo apt-get -y install genny

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

You can also use apt command to install genny.

sudo apt -y install genny

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

sudo aptitude install genny

Summary

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