Skip to content

Instantly share code, notes, and snippets.

@dcslin
Created February 16, 2019 06:45
Show Gist options
  • Save dcslin/8c920294de0c8f055c4304203ce3bfe8 to your computer and use it in GitHub Desktop.
Save dcslin/8c920294de0c8f055c4304203ce3bfe8 to your computer and use it in GitHub Desktop.
compile vim8.1 on ubuntu16.04
# tested on ubuntu 16.04 -- Feb 16 2019
# install ncurses lib (optional, dependency of vim)
wget https://invisible-mirror.net/archives/ncurses/ncurses-6.1.tar.gz
tar xzf ncurses-6.1.tar.gz
cd ncurses-6.1
./configure --prefix=$HOME/ncurses
make
make install
# install vim
git clone https://github.com/vim/vim.git $HOME/git/vim
cd vim/
export LDFLAGS=-L$HOME/ncurses/lib
./configure \
--with-features=huge \
--enable-multibyte \
--enable-cscope \
--prefix=$HOME/vim81 \
--with-tlib=ncurses
make VIMRUNTIMEDIR=$HOME/git/vim/runtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment