How to uninstall vim editor on CentOS7?

  • 1

CentOS comes with some editors if you do not like any one and want to uninstall it then this tutorial helps you. You can use your desired editor.

First login on centOS as a root user.

Now check that vim is installed or not by running the given command in Linux command line interface.

# vim –version

If you see this picture, then its mean that vim is installed else no need to uninstall it

Uninstall vim.
# yum remove -y vim

After that check the vim --version again.

vim –version

Now vim is uninstalled correctly.

How to Install vim on Almalinux

Was this answer helpful?