Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On a new installation:
- ======================
- 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
- sudo apt-get install checkinstall
- sudo apt-get remove vim vim-runtime gvim
- sudo apt-get remove vim-tiny vim-common vim-gui-common
- cd ~
- mkdir local_code
- cd local_code
- mkdir vim
- hg clone https://code.google.com/p/vim/
- After having done this at least once before now:
- ================================================
- dpkg -r vim
- cd ~/local_code/vim
- hg purge
- hg pull
- hg update -C
- After whichever you did:
- ========================
- ./configure --with-features=huge \
- --enable-rubyinterp \
- --enable-pythoninterp \
- --enable-luainterp \
- --with-python-config-dir=/usr/lib/python2.7-config \
- --enable-perlinterp \
- --enable-gui=gtk2 \
- --enable-cscope \
- --prefix=/usr
- make VIMRUNTIMEDIR=/usr/share/vim/vim74
- sudo checkinstall
- #no idea if these are necessary after 1st time, but it seems likely enough
- #dpkg -r would unset these.
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement