Skip to content

Instantly share code, notes, and snippets.

@tehmachine
Created October 4, 2015 20:01
Show Gist options
  • Save tehmachine/93b9fa83fc7cf35f3efc to your computer and use it in GitHub Desktop.
Save tehmachine/93b9fa83fc7cf35f3efc to your computer and use it in GitHub Desktop.
Build CLI Vim from source on Debian/Ubuntu
#!/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