2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Vim</title>
|
|
|
|
|
2002-05-30 12:51:27 +01:00
|
|
|
<para>This package requires its patch to be applied before you can
|
|
|
|
install it. Make sure it's unpacked before running the installation
|
|
|
|
commands.</para>
|
|
|
|
|
2002-08-10 20:51:51 +01:00
|
|
|
<para>If you not wish to install Vim, build instructions for
|
|
|
|
alternative editors are available at
|
|
|
|
<ulink url="&blfs-root;view/cvs/postlfs/editors.html"/>.
|
|
|
|
Currently, there are instructions for Emacs, nano, and joe.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-10-08 02:04:31 +01:00
|
|
|
<para>Install Vim by running the following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-07-02 20:25:34 +01:00
|
|
|
<para><screen><userinput>patch -Np1 -i ../vim-&vim-patch-version;.patch &&
|
2002-05-27 04:17:49 +01:00
|
|
|
./configure --prefix=/usr &&
|
2001-10-27 23:21:44 +01:00
|
|
|
make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &&
|
|
|
|
make install &&
|
2002-08-18 18:26:58 +01:00
|
|
|
ln -s vim /usr/bin/vi</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-05-28 01:52:20 +01:00
|
|
|
<para>If you plan to install the X Window system on your LFS
|
2001-05-13 23:07:24 +01:00
|
|
|
system, you might want to re-compile Vim after you have installed X. Vim
|
2001-01-24 00:31:17 +00:00
|
|
|
comes with a nice GUI version of the editor which requires X and a few
|
|
|
|
other libraries to be installed. For more information read the Vim
|
2001-07-22 20:45:10 +01:00
|
|
|
documentation.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|