How to Install gvim Editor on Debian 11

If you have already worked with vim editor, gvim is a similar tool but it has a graphical user interface.

In this small article, I am going to show you the method of installing gvim editor on Debian version 11 using its terminal.

Before you actually start the installation, open up the terminal and run the following command with root privileges to update package repository.

apt-get update

Wait for the operation to complete. This may take a few minutes depending on your Internet speed.

Run the following command on the terminal.

apt-get install vim-gtk

When you are asked for confirmation, press y from your keyboard. Sit back and relax while the operation completes.

To confirm the installation, run the following command on a terminal without root privileges. This will open up a gvim editor.


You have successfully installed the gvim editor on your machine.