How To Install vim-minimal.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install vim-minimal.x86_64
on Amazon Linux 2.
What is vim-minimal.x86_64
VIM (VIsual editor iMproved) is an updated and improved version of the vi editor. Vi was the first real screen-based editor for UNIX, and is still very popular. VIM improves on vi by adding new features and more. The vim-minimal package includes a minimal version of VIM, providing the commands vi, view, ex, rvi, and rview. NOTE The online help is only available when the vim-common package is installed.
We can use yum
to install vim-minimal.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install vim-minimal.x86_64.
Install vim-minimal.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install vim-minimal.x86_64
using yum
by running the following command:
sudo yum -y install vim-minimal.x86_64
How To Uninstall vim-minimal.x86_64 on Amazon Linux 2
To uninstall only the vim-minimal.x86_64
package we can use the following command:
sudo yum remove vim-minimal.x86_64
vim-minimal.x86_64 Package Contents on Amazon Linux 2
/etc/virc
/usr/bin/ex
/usr/bin/rvi
/usr/bin/rview
/usr/bin/vi
/usr/bin/view
/usr/libexec/vi
/usr/share/man/man1/ex.1.gz
/usr/share/man/man1/rvi.1.gz
/usr/share/man/man1/rview.1.gz
/usr/share/man/man1/vi.1.gz
/usr/share/man/man1/view.1.gz
/usr/share/man/man5/virc.5.gz
References
Summary
In this tutorial we learn how to install vim-minimal.x86_64
on Amazon Linux 2 using yum.