Created
October 4, 2015 20:01
-
-
Save tehmachine/93b9fa83fc7cf35f3efc to your computer and use it in GitHub Desktop.
Build CLI Vim from source on Debian/Ubuntu
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 | |
# | |
# Build and install Vim on Debian/Ubuntu | |
# Command-line Vim only, no GUI | |
# | |
sudo apt-get remove --purge -y vim; | |
sudo apt-get autoremove -y; | |
sudo apt-get install -y liblua5.1-dev luajit lua5.1; | |
cd ~; | |
git clone https://github.com/vim/vim.git; | |
cd vim; | |
make distclean; | |
./configure --with-features=huge --enable-pythoninterp --enable-rubyinterp --enable-luainterp; | |
make; | |
sudo make install; | |
cd ~; | |
rm -rf vim; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment