Categories: TutorialsUbuntu

How to Install Vi Kakoune Editor on Ubuntu 22.04 LTS

Introduction

Kakoune is an editor that is a model code editor. It binds Vi keystorkes into a text editing language. Kakoune is highly inspired by Vi therefore it look slightly similar to expeirienced developers and system admins. It does a great job of editing files either on a local system or a server.

Now we will observe how Kakoune is installed on Ubuntu 22.04 LTS edition. I will use Ubuntu repositories to fetch the libraries. It can also be installed from source.

Prerequisites to Install Kakoune Package

Kakoune is not required to install any dependency.

Step 1. Install Kakoune Editor on Ubuntu LTS

Sponsored

It is highly recommended that you should always update your system repositories. It will help you to install latest software without any issues. Follow along with the below commands to perform the installation.

$ sudo apt update
$ sudo apt install kakoune

As soon as the packages are installed, you will be able to verify the installation as well as the presence of the application on your system.

Step 2. Verify Kakoune Installation

Kakoune is a command-line-based and lightweight application. Therefore it can only be run via CLI. At the time of writing, Kakoune does not display any version number when invoked, but it does show that it is installed. Invoke the following command to find it out.

$ kak -version

Step 3. Launch Kakoune Editor

To launch Kakoune editor, you will have to invoke the following command to make it run.

$ kak

Kakoune will begin running once you invoke the kak command. I will also introduce you to some commands that you can use to navigate through the application

Step 4. Important Kakoune Key Bindings

Following key bindings will help you to navigate through the editor.

Sponsored

: It will leave insert mode.

: It will delete characters before cursors.

: It will delete characters under cursors.

, , , : This will move the cursors in given direction

: This key moves cursors to line begin.

: This key moves cursors to the end of the line.

Step 5. Uninstall Kakoune Editor From Ubuntu 22.04

Now we will remove Kakoune from the Ubuntu system. The standard removal commands will execute very well as we installed the Kakoune editor using the Ubuntu repository.

$ sudo apt remove kakoune

Conclusion

Kakoune is a robust code editor. It makes use of Vi Keys to make sure that the users do not find themselves confused.

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.

Ubuntu Server Admin

Recent Posts

How to Fix VMware’s “Could not open /dev/vmmon” Error on Ubuntu

You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…

5 hours ago

How to Fix Ubuntu 404 Errors While Fetching Dependencies

Have you ever found yourself staring at a terminal full of 404 errors while trying…

5 hours ago

How to Fix ‘Please Install All Available Updates’ Error When Upgrading Ubuntu 18.04 to 20.04 LTS

One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …

5 hours ago

How to fix “Release is not valid yet” Error in Docker Containers

In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…

5 hours ago

How to fix “Externally Managed Environment” Pip Errors on Ubuntu

If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…

5 hours ago

Ubuntu now officially supports NVIDIA Jetson: powering the future of AI at the edge

Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…

12 hours ago