Skip to content

Instantly share code, notes, and snippets.

@StandardNerd
Forked from Pompeu/vim_8_build
Last active September 3, 2022 07:44
Show Gist options
  • Save StandardNerd/4c1f8104a8f1e7465f108a10b83e275e to your computer and use it in GitHub Desktop.
Save StandardNerd/4c1f8104a8f1e7465f108a10b83e275e to your computer and use it in GitHub Desktop.
Building Vim 8 from source.
1.
sudo apt-get install libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev
2.
sudo apt-get remove vim vim-runtime gvim vim-tiny vim-common vim-gui-common vim-nox
3.
cd ~
git clone https://github.com/vim/vim.git
cd vim
./configure --enable-perlinterp=dynamic --enable-pythoninterp --enable-rubyinterp --enable-luainterp=dynamic --enable-cscope --enable-gui=auto --enable-gtk2-check --enable-gnome-check --enable-multibyte --enable-fontset --with-features=huge --with-x --with-python-config-dir=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/
4.
make VIMRUNTIMEDIR=/usr/local/share/vim/vim82
5.
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment