gvimtutor command not found

In this troubleshooting guide we learn how to fix gvimtutor command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gvimtutor: command not found

or when using sudo you get the following error message

sudo: gvimtutor: command not found

Solutions to gvimtutor: command not found

How To Fix gvimtutor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gvimtutor is provided by vim-gui-common package.

vim-gui-common is:

Vim is an almost compatible version of the UNIX editor Vi.

This package contains files shared by all GUI-enabled vim variants available in Debian. Examples of such shared files are: gvimtutor, icons, and desktop environments settings.

To fix this problem, we can install more using the command below.

sudo apt-get -y install vim-gui-common

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install vim-gui-common.

sudo apt -y install vim-gui-common

Or if you have aptitude installed you can use the following command.

sudo aptitude install vim-gui-common

Summary

In this tutorial we learn how to fix gvimtutor command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.