Last active
September 3, 2015 09:54
-
-
Save bekbulatov/c5ffcabb4a0c550987f5 to your computer and use it in GitHub Desktop.
Vim install with prefixed python support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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