How To Install vim-tiny on Debian 10

Learn how to install vim-tiny on Debian 10 with this tutorial. vim-tiny is Vi IMproved - enhanced vi editor - compact version

Introduction

In this tutorial we learn how to install vim-tiny on Debian 10.

What is vim-tiny

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, vim-gtk, or vim-gtk3.

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

Install vim-tiny Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install vim-tiny

Install vim-tiny Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vim-tiny

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

sudo aptitude -y install vim-tiny

How To Uninstall vim-tiny on Debian 10

To uninstall only the vim-tiny package we can use the following command:

sudo apt-get remove vim-tiny

Uninstall vim-tiny And Its Dependencies

To uninstall vim-tiny and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove vim-tiny

Remove vim-tiny Configurations and Data

To remove vim-tiny configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge vim-tiny

Remove vim-tiny configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vim-tiny

Dependencies

vim-tiny have the following dependencies:

References

Summary

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