-
Notifications
You must be signed in to change notification settings - Fork 2
Build Vim from source
Charles Qiu edited this page Nov 21, 2017
·
13 revisions
- Ubuntu
sudo apt-get install libncurses5-dev \
libgnome2-dev \
libgnomeui-dev \
libgtk2.0-dev \
libatk1.0-dev \
libbonoboui2-dev \
libcairo2-dev \
libx11-dev \
libxpm-dev \
libxt-dev \
python-dev \
python3-dev \
ruby-dev \
lua5.2-dev
- OpenSUSE
sudo zypper install python-devel \
python3-devel \
ruby-devel \
lua-devel \
ncurses-devel \
gtk2-devel \
xorg-x11-devel \
libXpm-devel \
libXt-devel \
atk-devel \
cairo-devel \
clipboard
- CentOS
sudo yum install python-devel \
python3-devel \
ruby-devel \
lua-devel \
perl \
perl-devel \
perl-ExtUtils-ParseXS \
perl-ExtUtils-XSpp \
perl-ExtUtils-CBuilder \
perl-ExtUtils-Embed \
ncurses-devel \
gtk2-devel \
libX11-devel \
libXpm-devel \
libXt-devel \
atk-devel \
cairo-devel
sudo ln -s /usr/bin/xsubpp /usr/share/perl5/ExtUtils/xsubpp
- Mac
brew install python \
python3 \
ruby \
lua \
atk \
cairo
./configure --with-features=huge \
--enable-gui=gtk2 \
--enable-multibyte \
--enable-luainterp=yes \
--enable-pythoninterp=yes \
--enable-python3interp=yes \
--enable-rubyinterp=yes \
--enable-perlinterp=yes \
--enable-cscope
make VIMRUNTIMEDIR=/usr/share/vim/vim80
sudo make install