Centos 安装 vim

只需要一条命令就可以了

yum -y install vim-enhanced

然后可以查看下

[root@server-008 openssl-1.1.1g]# vim --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jan  8 2013 23:55:00)
Included patches: 1, 3-4, 7-9, 11, 13-17, 19-26, 29-31, 34-44, 47, 50-56, 58-64, 66-73, 75, 77-92, 94-107, 109, 202, 234-237
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
.....
原文地址:https://www.cnblogs.com/maohedashu/p/14548255.html