Search code examples
vimrootncurses

Install vim without root privilege


There are several posts on the internet about this, but I haven't found a suitable solution for my case.

This is what I've tried so far:

  • Download vim

  • ./configure gives

 You need to install a terminal library; for example ncurses.
 Or specify the name of the library with --with-tlib.
  • tried to install ncurses but when make I run into
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc
gnatmake: *** link failed.
  • I've actually found out that in the system there are
/usr/lib64/libncurses.so
/usr/lib64/libncursesw.so

so I've tried to play around with LD_LIBRARY_PATH and LIBRARY_PATH, but to no avail.

Any suggestion ?


Solution

  • As guessed by Kaz in the comment above, ncurses does have the --without-ada option in its ./configure to disable the Ada build. This allowed me to install ncurses and consequently vim !