Skip to content

Instantly share code, notes, and snippets.

@gerrard00
Created May 27, 2017 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerrard00/b2a3ecba4ef8f4d9840562d6432f61eb to your computer and use it in GitHub Desktop.
Save gerrard00/b2a3ecba4ef8f4d9840562d6432f61eb to your computer and use it in GitHub Desktop.
Install newer Vim and Tmux on CentOs
# vim
yum group install "Development Tools" -y
yum install ncurses-devel -y
yum install unzip -y
yum install wget -y
yum install make -y
# prereqs copied from YouCompleteMe repo, probably overkill
yum install -y python python-devel
# yum install -y python3 python3-devel
wget -O vim-master.zip https://github.com/vim/vim/archive/master.zip
unzip vim-master.zip
cd vim-master/src
./configure --with-features=huge \
--enable-multibyte \
--enable-pythoninterp=yes
make
make install
cd ../..
rm -r vim-master
rm vim-master.zip
# tmux
yum install libevent -y
yum install libevent-devel -y
wget -O tmux-master.zip https://github.com/tmux/tmux/archive/master.zip
unzip tmux-master.zip
cd tmux-master
./autogen.sh
./configure && make
make install
cd ..
rm -r tmux-master
rm tmux-master.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment