Last active
September 14, 2018 17:13
-
-
Save ethagnawl/8dc54cbc95ded2b52a61bf9405b2d52b to your computer and use it in GitHub Desktop.
Build Vim from Source on Debian
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
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