11384 questions

13559 answers

21243 comments

31871 members

0 votes
1,809 views 4 comments
by
Hi, is it possible to install on RUT240 the nano text editor instead of the pre-installed vi ?

tks

1 Answer

0 votes
by

Hello,

You can install nano by executing the following commands:

opkg update
opkg install nano
cp /usr/lib/libncurses.so /usr/lib/libncurses.so.5

Best answer
by

I'd use ln instead of cp to save flash space

ln -s /usr/lib/libncurses.so /usr/lib/libncurses.so.5

by
Is it also possible for the RUT955 ?
by
Yes, the same logic applies.
by

On freshly flashed rut240 (from 1.11.3 to 1.14) the above instructions didn't work.
On my router ncurses are version 6, not 5, so it needed TWO symlinks: summarizing

opkg update
opkg install nano

and then

ln -s /usr/lib/libncurses.so /usr/lib/libncurses.so.5

ln -s /usr/lib/libncurses.so.6 /usr/lib/libncurses.so

Hope this helps.