yaws command not found

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

Introduction

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

yaws: command not found

or when using sudo you get the following error message

sudo: yaws: command not found

Solutions to yaws: command not found

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

In Ubuntu yaws is provided by yaws package.

yaws is:

Yaws is a high performance HTTP 1.1 webserver written in Erlang. It is a multithreaded webserver where one Erlang light weight process is used to handle each client. Two separate modes of operation are supported.

This package includes binaries and config to run Yaws in standalone mode where it works as a regular webserver daemon.

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

sudo apt-get -y install yaws

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

You can also use apt command to install yaws.

sudo apt -y install yaws

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

sudo aptitude install yaws

Summary

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