How To Install yi on Kali Linux

In this tutorial we learn how to install yi on Kali Linux. yi is Haskell-Scriptable Editor

Introduction

In this tutorial we learn how to install yi on Kali Linux.

What is yi

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

There are three methods to install yi on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install yi Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install yi using apt-get by running the following command:

sudo apt-get -y install yi

Install yi Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yi using apt by running the following command:

sudo apt -y install yi

Install yi Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install yi using aptitude by running the following command:

sudo aptitude -y install yi

How To Uninstall yi on Kali Linux

To uninstall only the yi package we can use the following command:

sudo apt-get remove yi

Uninstall yi And Its Dependencies

To uninstall yi and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove yi

Remove yi Configurations and Data

To remove yi configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge yi

Remove yi configuration, data, and all of its dependencies

We can use the following command to remove yi configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yi

Dependencies

yi have the following dependencies:

References

Summary

In this tutorial we learn how to install yi package on Kali Linux using different package management tools: apt, apt-get and aptitude.