How To Install kakoune on Debian 9
Introduction
In this tutorial we learn how to install kakoune on Debian 9.
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 Debian 9. 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 update
After updating apt database, We can install kakoune using apt-get by running the following command:
sudo apt-get -y install kakoune
Install kakoune Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install kakoune using apt by running the following command:
sudo apt -y install kakoune
Install kakoune Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install kakoune using aptitude by running the following command:
sudo aptitude -y install kakoune
How To Uninstall kakoune on Debian 9
To uninstall only the kakoune package we can use the following command:
sudo apt-get remove kakoune
Uninstall kakoune And Its Dependencies
To uninstall kakoune and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove kakoune
Remove kakoune Configurations and Data
To remove kakoune configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge kakoune
Remove 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 kakoune
Dependencies
kakoune have the following dependencies:
References
Summary
In this tutorial we learn how to install kakoune package on Debian 9 using different package management tools: apt, apt-get and aptitude.