Skip to content

Instantly share code, notes, and snippets.

@bekbulatov
Last active September 3, 2015 09:54
Show Gist options
  • Save bekbulatov/c5ffcabb4a0c550987f5 to your computer and use it in GitHub Desktop.
Save bekbulatov/c5ffcabb4a0c550987f5 to your computer and use it in GitHub Desktop.
Vim install with prefixed python support
sudo yum install gcc ncurses-devel
mkdir -p ~/opt ~/tmp
cd ~/tmp/
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
tar xvjf vim-7.4.tar.bz
cd vim74/
export vi_cv_path_python=/usr/local/python2.7/bin/python2.7
./configure --prefix=$HOME/opt --with-features=huge --enable-pythoninterp --with-python-config-dir=/usr/local/python2.7/lib/python2.7/config
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment