This script is aimed at compiling vim with minimal installation of CentOS with development tool and WebGUI:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
yum groupinstall "Development tools" yum install ncurses ncurses-devel -y yum install perl-ExtUtils-Embed -y yum install python-devel -y yum install ruby,ruby-devel -y yum install lua,lua-devel,luajit,luajit-devel -y cd ~ git clone https://github.com/vim/vim.git cd vim ./configure --with-features=huge \ --enable-rubyinterp \ --enable-largefile \ --disable-netbeans \ --enable-pythoninterp \ --enable-perlinterp \ --enable-luainterp \ --with-luajit \ --enable-gui=auto \ --enable-fail-if-missing \ --enable-cscope \ make VIMRUNTIMEDIR=/usr/share/vim/vim80 make install git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim cd ~ wget https://gist.github.com/luohancfd/4cbd907bb06991ef1fc03d3a5e56523c/raw/6ac2b42e1348b551aef26b123d0c53c66fed0979/vimrc -O .vimrc mkdir /usr/share/vim/vim80 mkdir /usr/share/vim/vim80/syntax ln -s /usr/local/share/vim/vim80/syntax/syntax.vim /usr/share/vim/vim80/syntax/syntax.vim |