How To Install kakoune on AlmaLinux 8

In this tutorial we learn how to install kakoune in AlmaLinux 8. kakoune is Code editor heavily inspired by Vim

Introduction

In this tutorial we learn how to install kakoune on AlmaLinux 8.

What is kakoune

  • Modal editor - Faster as in fewer keystrokes  - Multiple selections - Orthogonal design Kakoune is a code editor that implements Vi’s “keystrokes as a text editing language” model. As it’s also a modal editor, it is somewhat similar to the Vim editor (after which Kakoune was originally inspired). 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.

We can use yum or dnf to install kakoune on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install kakoune.

Install kakoune on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install kakoune using dnf by running the following command:

sudo dnf -y install kakoune

Install kakoune on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install kakoune using yum by running the following command:

sudo yum -y install kakoune

How To Uninstall kakoune on AlmaLinux 8

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

sudo dnf remove kakoune

References

Summary

In this tutorial we learn how to install kakoune on AlmaLinux 8 using yum and dnf.