Last active
January 5, 2022 11:48
-
-
Save adonis0147/5844126 to your computer and use it in GitHub Desktop.
Compile Vim from source.
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 | |
sudo dpkg -P vim vim-runtime vim-common vim-tiny | |
sudo apt-get install libncurses5-dev libperl-dev python-dev ruby-dev mercurial checkinstall lua5.2 liblua5.2-dev | |
sudo ln -s /usr/include/lua5.2/ /usr/include/lua | |
proxychains hg clone https://code.google.com/p/vim/ | |
cd vim | |
./configure --prefix=/opt/vim \ | |
--enable-gui=no \ | |
--with-features=huge \ | |
--enable-perlinterp \ | |
--enable-pythoninterp \ | |
--enable-rubyinterp \ | |
--enable-luainterp \ | |
--enable-cscope | |
make | |
sudo checkinstall | |
echo "vim hold" | sudo dpkg --set-selections |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment