vim-inst.xml 976 B

123456789101112131415161718192021222324252627
  1. <sect2>
  2. <title>Installation of Vim</title>
  3. <para>This package requires its patch to be applied before you can
  4. install it.</para>
  5. <para>If you not wish to install Vim, build instructions for
  6. alternative editors are available at
  7. <ulink url="&blfs-root;view/cvs/postlfs/editors.html"/>.
  8. Currently, there are instructions for Emacs, nano, and joe.</para>
  9. <para>Install Vim by running the following commands:</para>
  10. <para><screen><userinput>patch -Np1 -i ../vim-&vim-patch-version;.patch &amp;&amp;
  11. ./configure --prefix=/usr &amp;&amp;
  12. make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
  13. make install &amp;&amp;
  14. ln -s vim /usr/bin/vi</userinput></screen></para>
  15. <para>If you plan to install the X Window system on your LFS
  16. system, you might want to re-compile Vim after you have installed X. Vim
  17. comes with a nice GUI version of the editor which requires X and a few
  18. other libraries to be installed. For more information read the Vim
  19. documentation.</para>
  20. </sect2>