Skip to content

Commit

Permalink
fix install bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed Aug 12, 2018
1 parent b33aefa commit 9c5aaa0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,18 @@ function compile_vim_on_ubuntu()
function compile_vim_on_centos()
{
sudo rm -rf ~/vim
sudo yum -y remove vim*
sudo rm -rf /usr/bin/vi
sudo rm -rf /usr/bin/vim*
sudo rm -rf /usr/local/bin/vim*
sudo rm -rf /usr/share/vim/vim*
sudo rm -rf /usr/local/share/vim/vim*

sudo yum install -y ruby ruby-devel lua lua-devel luajit \
luajit-devel ctags git python python-devel \
python34 python34-devel tcl-devel \
perl perl-devel perl-ExtUtils-ParseXS \
perl-ExtUtils-XSpp perl-ExtUtils-CBuilder \
perl-ExtUtils-Embed libX11-devel ncurses-devel
luajit-devel ctags git python python-devel \
python34 python34-devel tcl-devel \
perl perl-devel perl-ExtUtils-ParseXS \
perl-ExtUtils-XSpp perl-ExtUtils-CBuilder \
perl-ExtUtils-Embed libX11-devel ncurses-devel

git clone https://github.com/vim/vim.git ~/vim
cd ~/vim
Expand Down

0 comments on commit 9c5aaa0

Please sign in to comment.