yesod command not found

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

Introduction

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

yesod: command not found

or when using sudo you get the following error message

sudo: yesod: command not found

Solutions to yesod: command not found

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

In Ubuntu yesod is provided by yesod package.

yesod is:

Provides scaffolding, devel server, and some simple code generation helpers (yesod, yesod-ar-wrapper, yesod-ld-wrapper, yesod-ghc-wrapper).

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

sudo apt-get -y install yesod

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

You can also use apt command to install yesod.

sudo apt -y install yesod

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

sudo aptitude install yesod

Summary

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