yi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
yi: command not found
or when using sudo you get the following error message
sudo: yi: command not found
Solutions to yi: command not found
How To Fix yi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu yi is provided by yi package.
yi is:
Yi is a text editor written in Haskell and extensible in Haskell. The goal of the Yi project is to provide a flexible, powerful, and correct editor for haskell hacking.
This package comes pre-configured with the default configuration. If you want to build your custom-configured version, make sure that libghc-yi-core-dev is installed and put your configuration in ~/.config/yi/yi.hs
To fix this problem, we can install more using the command below.
sudo apt-get -y install yi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install yi.
sudo apt -y install yi
Or if you have aptitude installed you can use the following command.
sudo aptitude install yi
Summary
In this tutorial we learn how to fix yi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.