Skip to content

Instantly share code, notes, and snippets.

@ethagnawl
Last active September 14, 2018 17:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethagnawl/8dc54cbc95ded2b52a61bf9405b2d52b to your computer and use it in GitHub Desktop.
Save ethagnawl/8dc54cbc95ded2b52a61bf9405b2d52b to your computer and use it in GitHub Desktop.
Build Vim from Source on Debian
git clone git@github.com:vim/vim.git ~/vim
sudo apt-get remove vim
cd ~/vim
sudo make distclean
./configure --with-features=huge\
--enable-multibyte\
--enable-rubyinterp=yes
--enable-pythoninterp=yes
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu #non-standard!
--enable-python3interp=yes
--with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu #non-standard!
--enable-perlinterp=yes
--enable-luainterp=yes
--enable-gui=gtk2
--enable-cscope
--prefix=/usr
make VIMRUNTIMEDIR=/usr/share/vim/vim80
sudo apt-get install checkinstall
sudo checkinstall
sudo apt-mark hold vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment