Last active
December 4, 2017 19:23
-
-
Save fiuzagr/3778322b29ec81035d98aea447a07b9e to your computer and use it in GitHub Desktop.
Ubuntu Vim 8 +python +python3 +ruby +lua
This file contains hidden or 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
# remove vim | |
sudo apt-get remove --purge \ | |
vim vim-nox vim-runtime vim-gnome \ | |
vim-tiny vim-common vim-gui-common | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
# install dependencies | |
sudo apt-get install \ | |
liblua5.1-dev luajit libluajit-5.1 libncurses5-dev \ | |
libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev \ | |
libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev \ | |
python-dev python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev git | |
# clone vim source | |
cd /tmp | |
git clone https://github.com/vim/vim | |
# configure | |
cd /tmp/vim | |
./configure \ | |
--enable-multibyte \ | |
--enable-perlinterp=dynamic \ | |
--enable-rubyinterp=dynamic \ | |
--with-ruby-command=/usr/bin/ruby \ | |
--enable-pythoninterp=dynamic \ | |
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ | |
--enable-python3interp \ | |
--with-python3-config-dir=/usr/lib/python3.5/config-3.5m-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="yourname" \ | |
--enable-fail-if-missing | |
# install | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment