vimtutor command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
vimtutor: command not found
or when using sudo you get the following error message
sudo: vimtutor: command not found
Solutions to vimtutor: command not found
How To Fix vimtutor: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu vimtutor is provided by vim-runtime package.
vim-runtime is:
Vim is an almost compatible version of the UNIX editor Vi.
This package contains vimtutor and the architecture independent runtime files, used, if available, by all vim variants available in Debian. Example of such runtime files are: online documentation, rules for language-specific syntax highlighting and indentation, color schemes, and standard plugins.
To fix this problem, we can install more using the command below.
sudo apt-get -y install vim-runtime
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install vim-runtime.
sudo apt -y install vim-runtime
Or if you have aptitude installed you can use the following command.
sudo aptitude install vim-runtime
Summary
In this tutorial we learn how to fix vimtutor command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.