Last active
September 9, 2017 19:41
-
-
Save diraol/b8f739cb77afec3e02d682b1687309b4 to your computer and use it in GitHub Desktop.
Install Vim 8 with Python 3, Ruby and Lua support 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
sudo apt remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt install liblua5.1-dev luajit libluajit-5.1 python3-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt install checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
cd ~/tools | |
git clone https://github.com/vim/vim | |
cd vim | |
git pull && git fetch | |
#In case Vim was already installed | |
cd src | |
make distclean | |
cd .. | |
./configure \ | |
--enable-multibyte \ | |
--enable-perlinterp=dynamic \ | |
--enable-rubyinterp=dynamic \ | |
--with-ruby-command=/usr/bin/ruby \ | |
--enable-python3interp \ | |
--with-python3-config-dir=/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu \ | |
--enable-luainterp \ | |
--with-luajit \ | |
--enable-cscope \ | |
--enable-gui=auto \ | |
--with-features=huge \ | |
--with-x \ | |
--enable-fontset \ | |
--enable-largefile \ | |
--disable-netbeans \ | |
--with-compiledby="Diego Rabatone Oliveira" \ | |
--enable-fail-if-missing | |
make && sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment