vim.tiny command not found

In this troubleshooting guide we learn how to fix vim.tiny command not found error message

Introduction

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

vim.tiny: command not found

or when using sudo you get the following error message

sudo: vim.tiny: command not found

Solutions to vim.tiny: command not found

How To Fix vim.tiny: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vim.tiny is provided by vim-tiny package.

vim-tiny is:

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

This package contains a minimal version of Vim compiled with no GUI and a small subset of features. This package’s sole purpose is to provide the vi binary for base installations.

If a vim binary is wanted, try one of the following more featureful packages: vim, vim-nox, vim-athena, or vim-gtk3.

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

sudo apt-get -y install vim-tiny

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

You can also use apt command to install vim-tiny.

sudo apt -y install vim-tiny

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

sudo aptitude install vim-tiny

Summary

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