Created
November 2, 2018 03:17
-
-
Save Liam0205/850ed65fbd36aed053c2405d963055c6 to your computer and use it in GitHub Desktop.
Compile and install VIM on CentOS 6.x without root.
This file contains 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
#!/bin/bash | |
git clone https://github.com/vim/vim.git --depth=1 | |
cd vim | |
make -p $HOME/local/bin | |
./configure --prefix=$HOME/local/vim --enable-multibyte --with-tlib=tinfo --enable-pythoninterp --enable-rubyinterp --with-ruby-command=/usr/bin/ruby --with-features=huge | |
make -j24 | |
make install | |
cd $HOME/local/bin | |
for file in $(ls $HOME/local/vim/bin); do ln -sf $HOME/local/vim/bin/$file $file; done | |
cd $HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment