Skip to content

Instantly share code, notes, and snippets.

@pythoninthegrass
Forked from yevrah/Upgrade vim
Last active January 8, 2021 20:47
Show Gist options
  • Save pythoninthegrass/8471bed151c38edad84c73b3e6c617d1 to your computer and use it in GitHub Desktop.
Save pythoninthegrass/8471bed151c38edad84c73b3e6c617d1 to your computer and use it in GitHub Desktop.
Update to Vim8 on Centos 7
# SOURCE: @zhouyanlt https://gist.github.com/yevrah/21cdccc1dc65efd2a4712781815159fb#gistcomment-2695800
sudo yum install -y gcc git ncurses-devel
git clone https://github.com/vim/vim.git ~/vim
cd ~/vim/src
make distclean # if you built Vim before
make -j8
sudo make install
cp -ru ~/vim/src/vim /usr/bin # overwrites /usr/bin/vim w/o confirmation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment