compile vi from source code

1.install ncurses library (vi  depend on ncurses library)

./configure --prefix=/usr --with-termlib

make -j4 && make install

2.install vi

./configure --prefix=/usr --with-tlib=tinfo

make -j4 && make install

猜你喜欢

转载自www.cnblogs.com/dakewei/p/9142834.html