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.

13 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
  8. This comment has been removed by the author.

    ReplyDelete
  9. zypper addrepo https://download.opensuse.org/repositories/editors/SLE_12_SP3/editors.repo
    zypper refresh
    zypper install nano

    ReplyDelete
    Replies
    1. awesome-sauce. thanks for that.

      Delete
    2. Просто поразительно!Я несколько дней рылся с установкой nano.И вот случайно наткнулся на ваш совет.Премного благодарен.А вот ещё как белых квадратиков избежать в консоле?

      Delete
  10. Precise and straight to the point. Thank you.

    ReplyDelete