How to install Vim 7.4 with Perl, Python and Ruby support on Ubuntu 12.04

1. Remove preexisting vim installations:

sudo apt-get remove vim-tiny vim vim-nox

2. Make sure you have mercurial install, otherwise install it:

sudo apt-get install mercurial

3. Download Vim 7.4 from vim.org repo:

hg clone https://vim.googlecode.com/hg/ vim74

4. change directory to vim74, and install, for example I have used installed with following options enabled:

./configure --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-cscope  --with-features=huge --prefix=/usr
make
make install
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s