Created
May 27, 2017 15:22
-
-
Save gerrard00/b2a3ecba4ef8f4d9840562d6432f61eb to your computer and use it in GitHub Desktop.
Install newer Vim and Tmux on CentOs
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
# 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