How To Install kakoune on Kali Linux
Introduction
In this tutorial we learn how to install kakoune on Kali Linux.
What is kakoune
kakoune is:
Kakoune is a code editor heavily inspired by Vim; as such most of its commands are similar to vi??s ones, and it shares Vi??s “keystrokes as a text editing language” model. Kakoune can operate in two modes, normal and insertion. In insertion mode, keys are directly inserted into the current buffer. In normal mode, keys are used to manipulate the current selection and to enter insertion mode. Kakoune has a strong focus on interactivity, most commands provide immediate and incremental results, while still being competitive (as in keystroke count) with Vim. Kakoune works on selections, which are oriented, inclusive range of characters; selections have an anchor and a cursor character. Most commands move both of them, except when extending selection where the anchor character stays fixed and the cursor one moves around.
There are three methods to install kakoune 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 kakoune Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install kakoune using apt-get by running the following command:
sudo apt-get -y install kakouneInstall kakoune Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install kakoune using apt by running the following command:
sudo apt -y install kakouneInstall kakoune 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 updateAfter updating apt database, We can install kakoune using aptitude by running the following command:
sudo aptitude -y install kakouneHow To Uninstall kakoune on Kali Linux
To uninstall only the kakoune package we can use the following command:
sudo apt-get remove kakouneUninstall kakoune And Its Dependencies
To uninstall kakoune and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove kakouneRemove kakoune Configurations and Data
To remove kakoune configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge kakouneRemove kakoune configuration, data, and all of its dependencies
We can use the following command to remove kakoune configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge kakouneDependencies
kakoune have the following dependencies:
References
Summary
In this tutorial we learn how to install kakoune package on Kali Linux using different package management tools: apt, apt-get and aptitude.