Installing Vim was fairly straightforward, but I had trouble figuring out how to install gvim. I had to hunt for specific directions for gvim. I thought it would be beneficial to have instructions for both on the same page. So here it is!
GVim, while included in vim, requires additional libraries for the GUI, and certain flags must be enabled when you run 'configure'.
So here's what I did:
GVim, while included in vim, requires additional libraries for the GUI, and certain flags must be enabled when you run 'configure'.
So here's what I did:
Download source to Vim, and unzip it. It should create a folder called 'vim73/'
____________________________________________
$cd vim73
$cd vim73
$./configure$make$sudo make install$sudo make install clean
____________________________________________Now Vim 7.3 should be installed on your system. While running the above, you may get an error for missing dependency for ncurses-dev. You can run 'apt-get install' to get that and run the command again.
Gvim is still not installed, so you will have to do the following steps:
______________________________________________________________

$sudo apt-get install libncurses-dev libgnome2-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev \
libx11-dev libxpm-dev libxt-dev
$cd vim73/src/
$make distclean
Gvim is still not installed, so you will have to do the following steps:
______________________________________________________________
$sudo apt-get install libncurses-dev libgnome2-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev \
libx11-dev libxpm-dev libxt-dev
$cd vim73/src/
$make distclean
$./configure --with-features=huge --enable-gui=gnome2
$make
$sudo make install
______________________________________________________________


