Install vim from source

从源码编译安装vim8

从github下载vim源码

1
git clone https://github.com/vim/vim.git

安装编译依赖

1
sudo apt-get install ruby ruby-dev libncurses5-dev

编译

1
2
3
4
5
cd vim/src
./configure --with-features=huge --enable-gui=gnome2 --enable-pythoninterp=yes
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu
--enable-cscope --enable-rubyinterp=yes --enable-multibyte --with-x
--enable-fail-if-missing

安装

1
make && sudo make install
0%