The information here was inferred from the link in this section title; the steps in this guide differ slightly from the source article. These steps are meant for users with a "default" vim runtime directory.
- Delete old version of Vim (refer to doc on the right way to do this - it's easy)
- Clone the
vim
repo locally, if you haven't already - Run the "configure command" shown below
- Run the "install command" shown below
If you haven't already, check the source documentation in the title of this Gist - THIS GUIDE IS ONLY MEANT TO SUPPLEMENT THE ORIGINAL GUIDE. See the source documentation for more in-depth instructions with explanations.
Run this from within the root of the
vim
directory
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-python3interp=yes \
--with-python3-config-dir=$(python3-config --configdir) \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope
- How does this differ from the source docs?
- There is no
--prefix
flag - The
make VIMRUNTIMEDIR
call has been excluded (you only need this if your vim runtime directory is in a non-default location)
- There is no
Run this command from within the root of the
vim
directory
sudo apt install checkinstall
cd ~/vim
sudo checkinstall
- You'll be asked to provide some responses before it gets rolling
- Say "no" when asked if you want to list files
- Say "yes" when the prompt says it's a good idea (it will literally say "saying 'yes' is a good idea" in the prompt message)
- This process may take several minutes to complete
Follow this guide if: