Next Previous Contents

9. Installing Vim

Restart your system in the LFS system. From now on you don't need to start your normal Linux system anymore. The reason we had to do this is because the LFS system was lacking a text editor.

9.1 Preparing the system for the Vim installation

Installing Ncurses

In order to install Vim we need to have the ncurses libraries installed.

Because Ncurses isn't 100% correct according to the latest C standard, we need to compile it with gcc2723

9.2 Installing Vim

Vim comes in two separate parts: A 'src' package and a 'rt' (run-time) package. You need both in order to install Vim. If you put both archives in the same directory, the unpacked files of both archives will appear in the same directory that will be created when you unpack the first (it doesn't matter which one you unpack first).

Also Vim doesn't compile with gcc 2.95.2, so we have to compile it with gcc 2.7.2.3 as well.


Next Previous Contents