欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

Linux(CentOS7)下安装Vim编辑器

程序员文章站 2022-05-30 18:49:40
1、离线下载Vim及其所有依赖包 2、所有下载依赖包列表 3、一次性安装所有依赖 ......

1、离线下载vim及其所有依赖包

yum -y install vim --downloadonly --downloaddir ./

Linux(CentOS7)下安装Vim编辑器

2、所有下载依赖包列表

Linux(CentOS7)下安装Vim编辑器

gpm-libs-1.20.7-5.el7.x86_64.rpm
perl-5.16.3-294.el7_6.x86_64.rpm
perl-carp-1.26-244.el7.noarch.rpm
perl-constant-1.27-2.el7.noarch.rpm
perl-encode-2.51-7.el7.x86_64.rpm
perl-exporter-5.68-3.el7.noarch.rpm
perl-file-path-2.09-2.el7.noarch.rpm
perl-file-temp-0.23.01-3.el7.noarch.rpm
perl-filter-1.49-3.el7.x86_64.rpm
perl-getopt-long-2.40-3.el7.noarch.rpm
perl-http-tiny-0.033-3.el7.noarch.rpm
perl-libs-5.16.3-294.el7_6.x86_64.rpm
perl-macros-5.16.3-294.el7_6.x86_64.rpm
perl-parent-0.225-244.el7.noarch.rpm
perl-pathtools-3.40-5.el7.x86_64.rpm
perl-pod-escapes-1.04-294.el7_6.noarch.rpm
perl-podlators-2.5.1-3.el7.noarch.rpm
perl-pod-perldoc-3.20-4.el7.noarch.rpm
perl-pod-simple-3.28-4.el7.noarch.rpm
perl-pod-usage-1.63-3.el7.noarch.rpm
perl-scalar-list-utils-1.27-248.el7.x86_64.rpm
perl-socket-2.010-4.el7.x86_64.rpm
perl-storable-2.45-3.el7.x86_64.rpm
perl-text-parsewords-3.29-4.el7.noarch.rpm
perl-threads-1.87-4.el7.x86_64.rpm
perl-threads-shared-1.43-6.el7.x86_64.rpm
perl-time-hires-1.9725-3.el7.x86_64.rpm
perl-time-local-1.2300-2.el7.noarch.rpm
vim-common-7.4.160-5.el7.x86_64.rpm
vim-enhanced-7.4.160-5.el7.x86_64.rpm
vim-filesystem-7.4.160-5.el7.x86_64.rpm

3、一次性安装所有依赖

rpm -ivh *.rpm

Linux(CentOS7)下安装Vim编辑器