How To Install kakoune on Rocky Linux 8

In this tutorial we learn how to install kakoune on Rocky Linux 8. kakoune is Code editor heavily inspired by Vim

Introduction

In this tutorial we learn how to install kakoune on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install kakoune.

Install kakoune on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove kakoune

kakoune Package Contents on Rocky Linux 8

/usr/bin/kak
/usr/lib/.build-id
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/1ef8cb1d9321f8153f886d97646d9b01d2c824
/usr/share/doc/kakoune
/usr/share/doc/kakoune/CONTRIBUTING
/usr/share/doc/kakoune/README.asciidoc
/usr/share/doc/kakoune/VIMTOKAK
/usr/share/kak
/usr/share/kak/autoload
/usr/share/kak/colors
/usr/share/kak/colors/base16.kak
/usr/share/kak/colors/default.kak
/usr/share/kak/colors/desertex.kak
/usr/share/kak/colors/github.kak
/usr/share/kak/colors/greyscale.kak
/usr/share/kak/colors/gruvbox.kak
/usr/share/kak/colors/kaleidoscope-dark.kak
/usr/share/kak/colors/kaleidoscope-light.kak
/usr/share/kak/colors/lucius.kak
/usr/share/kak/colors/palenight.kak
/usr/share/kak/colors/plain.kak
/usr/share/kak/colors/red-phoenix.kak
/usr/share/kak/colors/reeder.kak
/usr/share/kak/colors/solarized-dark-termcolors.kak
/usr/share/kak/colors/solarized-dark.kak
/usr/share/kak/colors/solarized-light-termcolors.kak
/usr/share/kak/colors/solarized-light.kak
/usr/share/kak/colors/tomorrow-night.kak
/usr/share/kak/colors/zenburn.kak
/usr/share/kak/doc
/usr/share/kak/doc/buffers.asciidoc
/usr/share/kak/doc/changelog.asciidoc
/usr/share/kak/doc/command-parsing.asciidoc
/usr/share/kak/doc/commands.asciidoc
/usr/share/kak/doc/execeval.asciidoc
/usr/share/kak/doc/expansions.asciidoc
/usr/share/kak/doc/faces.asciidoc
/usr/share/kak/doc/faq.asciidoc
/usr/share/kak/doc/highlighters.asciidoc
/usr/share/kak/doc/hooks.asciidoc
/usr/share/kak/doc/keymap.asciidoc
/usr/share/kak/doc/keys.asciidoc
/usr/share/kak/doc/mapping.asciidoc
/usr/share/kak/doc/modes.asciidoc
/usr/share/kak/doc/options.asciidoc
/usr/share/kak/doc/regex.asciidoc
/usr/share/kak/doc/registers.asciidoc
/usr/share/kak/doc/scopes.asciidoc
/usr/share/kak/kakrc
/usr/share/kak/rc
/usr/share/kak/rc/detection
/usr/share/kak/rc/detection/editorconfig.kak
/usr/share/kak/rc/detection/file.kak
/usr/share/kak/rc/detection/modeline.kak
/usr/share/kak/rc/filetype
/usr/share/kak/rc/filetype/arch-linux.kak
/usr/share/kak/rc/filetype/asciidoc.kak
/usr/share/kak/rc/filetype/awk.kak
/usr/share/kak/rc/filetype/c-family.kak
/usr/share/kak/rc/filetype/cabal.kak
/usr/share/kak/rc/filetype/clojure.kak
/usr/share/kak/rc/filetype/cmake.kak
/usr/share/kak/rc/filetype/coffee.kak
/usr/share/kak/rc/filetype/coq.kak
/usr/share/kak/rc/filetype/crystal.kak
/usr/share/kak/rc/filetype/css.kak
/usr/share/kak/rc/filetype/cucumber.kak
/usr/share/kak/rc/filetype/cue.kak
/usr/share/kak/rc/filetype/d.kak
/usr/share/kak/rc/filetype/dart.kak
/usr/share/kak/rc/filetype/dhall.kak
/usr/share/kak/rc/filetype/diff.kak
/usr/share/kak/rc/filetype/dockerfile.kak
/usr/share/kak/rc/filetype/elixir.kak
/usr/share/kak/rc/filetype/elm.kak
/usr/share/kak/rc/filetype/eruby.kak
/usr/share/kak/rc/filetype/etc.kak
/usr/share/kak/rc/filetype/exherbo.kak
/usr/share/kak/rc/filetype/fish.kak
/usr/share/kak/rc/filetype/fsharp.kak
/usr/share/kak/rc/filetype/gas.kak
/usr/share/kak/rc/filetype/git.kak
/usr/share/kak/rc/filetype/gluon.kak
/usr/share/kak/rc/filetype/go.kak
/usr/share/kak/rc/filetype/haml.kak
/usr/share/kak/rc/filetype/haskell.kak
/usr/share/kak/rc/filetype/hbs.kak
/usr/share/kak/rc/filetype/html.kak
/usr/share/kak/rc/filetype/i3.kak
/usr/share/kak/rc/filetype/ini.kak
/usr/share/kak/rc/filetype/java.kak
/usr/share/kak/rc/filetype/javascript.kak
/usr/share/kak/rc/filetype/jinja.kak
/usr/share/kak/rc/filetype/json.kak
/usr/share/kak/rc/filetype/julia.kak
/usr/share/kak/rc/filetype/just.kak
/usr/share/kak/rc/filetype/kakrc.kak
/usr/share/kak/rc/filetype/kickstart.kak
/usr/share/kak/rc/filetype/latex.kak
/usr/share/kak/rc/filetype/ledger.kak
/usr/share/kak/rc/filetype/lisp.kak
/usr/share/kak/rc/filetype/lua.kak
/usr/share/kak/rc/filetype/mail.kak
/usr/share/kak/rc/filetype/makefile.kak
/usr/share/kak/rc/filetype/markdown.kak
/usr/share/kak/rc/filetype/mercurial.kak
/usr/share/kak/rc/filetype/meson.kak
/usr/share/kak/rc/filetype/mlb.kak
/usr/share/kak/rc/filetype/moon.kak
/usr/share/kak/rc/filetype/nim.kak
/usr/share/kak/rc/filetype/nix.kak
/usr/share/kak/rc/filetype/ocaml.kak
/usr/share/kak/rc/filetype/perl.kak
/usr/share/kak/rc/filetype/php.kak
/usr/share/kak/rc/filetype/pony.kak
/usr/share/kak/rc/filetype/protobuf.kak
/usr/share/kak/rc/filetype/pug.kak
/usr/share/kak/rc/filetype/python.kak
/usr/share/kak/rc/filetype/r.kak
/usr/share/kak/rc/filetype/ragel.kak
/usr/share/kak/rc/filetype/restructuredtext.kak
/usr/share/kak/rc/filetype/ruby.kak
/usr/share/kak/rc/filetype/rust.kak
/usr/share/kak/rc/filetype/sass.kak
/usr/share/kak/rc/filetype/scala.kak
/usr/share/kak/rc/filetype/scheme.kak
/usr/share/kak/rc/filetype/scss.kak
/usr/share/kak/rc/filetype/sh.kak
/usr/share/kak/rc/filetype/sml.kak
/usr/share/kak/rc/filetype/sql.kak
/usr/share/kak/rc/filetype/swift.kak
/usr/share/kak/rc/filetype/systemd.kak
/usr/share/kak/rc/filetype/taskpaper.kak
/usr/share/kak/rc/filetype/terraform.kak
/usr/share/kak/rc/filetype/toml.kak
/usr/share/kak/rc/filetype/troff.kak
/usr/share/kak/rc/filetype/tupfile.kak
/usr/share/kak/rc/filetype/void-linux.kak
/usr/share/kak/rc/filetype/yaml.kak
/usr/share/kak/rc/filetype/zig.kak
/usr/share/kak/rc/tools
/usr/share/kak/rc/tools/autorestore.kak
/usr/share/kak/rc/tools/autowrap.kak
/usr/share/kak/rc/tools/clang.kak
/usr/share/kak/rc/tools/comment.kak
/usr/share/kak/rc/tools/ctags.kak
/usr/share/kak/rc/tools/doc.kak
/usr/share/kak/rc/tools/format.kak
/usr/share/kak/rc/tools/git.kak
/usr/share/kak/rc/tools/go
/usr/share/kak/rc/tools/go/go-tools.kak
/usr/share/kak/rc/tools/grep.kak
/usr/share/kak/rc/tools/lint.kak
/usr/share/kak/rc/tools/make.kak
/usr/share/kak/rc/tools/man.kak
/usr/share/kak/rc/tools/python
/usr/share/kak/rc/tools/python/jedi.kak
/usr/share/kak/rc/tools/rust
/usr/share/kak/rc/tools/rust/racer.kak
/usr/share/kak/rc/tools/spell.kak
/usr/share/kak/rc/windowing
/usr/share/kak/rc/windowing/detection.kak
/usr/share/kak/rc/windowing/iterm.kak
/usr/share/kak/rc/windowing/kitty.kak
/usr/share/kak/rc/windowing/new-client.kak
/usr/share/kak/rc/windowing/repl
/usr/share/kak/rc/windowing/repl/kitty.kak
/usr/share/kak/rc/windowing/repl/tmux.kak
/usr/share/kak/rc/windowing/repl/x11.kak
/usr/share/kak/rc/windowing/screen.kak
/usr/share/kak/rc/windowing/tmux.kak
/usr/share/kak/rc/windowing/x11.kak
/usr/share/licenses/kakoune
/usr/share/licenses/kakoune/UNLICENSE
/usr/share/man/man1/kak.1.gz

References

Summary

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