How To Install vis on Debian 12

Learn how to install vis on Debian 12 with this tutorial. vis is Modern, legacy free, simple yet efficient vim-like editor

Introduction

In this tutorial we learn how to install vis on Debian 12.

What is vis

vis is:

Vis aims to be a modern, legacy free, simple yet efficient editor combining the strengths of both vi(m) and sam. It extends vi’s modal editing with support for multiple cursors/selections and combines it with sam’s structural regular expression based command language.

As an universal editor it has decent Unicode support and should cope with arbitrary files including: large, binary or single-line ones. Syntax highlighting is provided using Parsing Expression Grammars which can be conveniently expressed using Lua in the form of LPeg.

The editor core is written in a reasonable amount of clean (your mileage may vary), modern and legacy free C code, enabling it to run in resource constrained environments. The implementation should be easy to hack on and encourage experimentation. There also exists a Lua API for in-process extensions.

Vis strives to be simple and focuses on its core task: efficient text management. Clipboard and digraph handling as well as a fuzzy file open dialog are all provided by independent utilities.

The intention is not to be bug for bug compatible with vi(m), instead the aim is to provide powerful editing features based on an elegant design and clean implementation.

There are three methods to install vis on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install vis Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install vis using apt-get by running the following command:

sudo apt-get -y install vis

Install vis Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install vis using apt by running the following command:

sudo apt -y install vis

Install vis 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 vis using aptitude by running the following command:

sudo aptitude -y install vis

How To Uninstall vis on Debian 12

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

sudo apt-get remove vis

Uninstall vis And Its Dependencies

To uninstall vis and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove vis

Remove vis Configurations and Data

To remove vis configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge vis

Remove vis configuration, data, and all of its dependencies

We can use the following command to remove vis configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vis

Dependencies

vis have the following dependencies:

References

Summary

In this tutorial we learn how to install vis package on Debian 12 using different package management tools: apt, apt-get and aptitude.