Mach 6 Science
Life, Research, Music

Script to compile vim

This script is aimed at compiling vim with minimal installation of CentOS with development tool and WebGUI:

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

No comments yet

Comment