Compiling Vim with Python and Ruby support on Ubuntu

2013-05-03 路

Check if Vim is compiled with Python or Ruby:

位 vim --version | ack '(python|ruby)'

Remove Vim version installed with apt-get if present:

位 sudo apt-get remove vim-common vim-runtime

Install dependencies needed to compile Vim:

位 sudo apt-get build-dep vim

Install Mercurial:

位 sudo apt-get install mercurial

Clone Vim repository, compile it and install the new version:

位 hg clone https://vim.googlecode.com/hg/ vim
位 cd vim
位 ./configure --enable-pythoninterp --enable-rubyinterp
位 make
位 sudo make install
Copyright 漏 2018 All rights reserved.
Powered by Kulfon.