Created
February 16, 2019 06:45
-
-
Save dcslin/8c920294de0c8f055c4304203ce3bfe8 to your computer and use it in GitHub Desktop.
compile vim8.1 on ubuntu16.04
This file contains 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
# 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