Tuesday, October 11, 2011

Tips that matters: Install nano on Suse Linux

For those who have a bad relationship with vi, emacs and related, here is a quick tip to install nano on SLES in few seconds.

rpm –i nano-2.2.6-1.x86_64.rpm

That's all. Tips that matters, really.

8 comments:

  1. This was great! Thank you! I was able to install NANO on a VMware VDP Appliance with this tip!

    ReplyDelete
  2. rpm -i nano-2.2.6-1.x86_64.rpm
    error: Failed dependencies:
    rtld(GNU_HASH) is needed by nano-2.2.6-1.x86_64

    ReplyDelete
  3. @IT guru , install rtld. It is telling you.

    ReplyDelete
  4. But you're an IT guru, shouldn't you know how to google it? :-D

    ReplyDelete
  5. Latest rpm:

    https://nano-editor.org/dist/v2.5/RPMS/nano-2.5.3-1.x86_64.rpm

    no issue with rtld then.

    ReplyDelete
  6. or install SLE SDK & compiler tools, download source tarball (latest nano works), untar, ./configure && make && sudo make install
    it installs to /usr/local by default unless you use a different default configure prefix

    ReplyDelete
  7. ugh, annoying I can't edit... but also, there's a sample nanorc in the source tarball that you'll probably want also.

    ReplyDelete