yash command not found

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

Introduction

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

yash: command not found

or when using sudo you get the following error message

sudo: yash: command not found

Solutions to yash: command not found

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

In Ubuntu yash is provided by yash package.

yash is:

Yash is a command line shell that conforms to the POSIX.1 (IEEE Std 1003.1, 2008 Edition) standard for the most part. Actually, it is much more POSIX-compliant than other shell like bash and zsh.

Yash also has its own features beyond POSIX, such as:

  • global aliases
  • random numbers
  • socket redirections and other special redirections
  • right prompt
  • command completion

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

sudo apt-get -y install yash

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

You can also use apt command to install yash.

sudo apt -y install yash

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

sudo aptitude install yash

Summary

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