Last active
December 29, 2015 06:29
-
-
Save kra3/7629466 to your computer and use it in GitHub Desktop.
Compiling vim from source
This file contains hidden or 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
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 ruby-dev mercurial checkinstall | |
hg clone https://code.google.com/p/vim/ | |
cd vim | |
./configure --with-features=huge \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/ \ | |
--enable-perlinterp \ | |
--enable-gui=gtk2 --enable-cscope --prefix=/usr | |
make VIMRUNTIMEDIR=/usr/share/vim/vim74 | |
#sudo make install | |
sudo checkinstall | |
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/vim 1 | |
sudo update-alternatives --set editor /usr/bin/vim | |
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/vim 1 | |
sudo update-alternatives --set vi /usr/bin/vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment