vim安装

2020-01-02 16:51:28 浏览数 (1)

环境准备

请先安装 CentOS(Community Enterprise Operating System:社区企业操作系统),最好是最新版


开发工具包安装

代码语言:javascript复制
[centos@localhost ~]$ sudo yum groupinstall 'Development Tools'

必要编译链接库安装

代码语言:javascript复制
[centos@localhost ~]$ sudo yum install python-devel python3-devel lua-devel ruby-devel libX11-devel gtk-devel gtk2-devel gtk3-devel ncurses-devel
[centos@localhost ~]$ yum search perl | grep ExtUtils
[centos@localhost ~]$ sudo yum install perl-ExtUtils-Embed

准备 vim

代码语言:javascript复制
[centos@localhost ~]$ cd /usr/local/src
[centos@localhost src]$ sudo git clone https://github.com/vim/vim.git

0 人点赞