Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Forked from opchaves/install-vim8.txt
Last active January 23, 2020 19:41
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 jc00ke/f3502780c5e514b8afdaee5fe984649c to your computer and use it in GitHub Desktop.
Save jc00ke/f3502780c5e514b8afdaee5fe984649c to your computer and use it in GitHub Desktop.
Install Vim 8 with Python, Python 3, Ruby and Lua support on Regolith/Ubuntu 19.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-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-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~
git clone --depth 1 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=/home/jesse/.asdf/shims/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.8/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="jc00ke" \
--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