Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install vim without root privilege

Tags:

vim

root

ncurses

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 ?

like image 679
duff18 Avatar asked Sep 15 '26 14:09

duff18


1 Answers

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 !

like image 127
duff18 Avatar answered Sep 18 '26 12:09

duff18



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!