Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having a few issues with the default version of Nano...Its extremely buggy and when I scroll between characters they mysteriously change without my editing.

How do I update my nano version? The version is 2.0.9 and it doesnt have anything more recent when I do yum update nano.

The nano webpage shows 2.2.6.

Whats the best way of upgrading this?

Thanks, D (Linux novice)

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

yum update in this case.

Sometimes the distribution chooses not to upgrade to the latest version of some software (mostly for security reasons) so it might be possible that you cant install from the normal repositories.

You might find an rpm on the official website, you can install from there.

Nano download url

share|improve this answer
add comment

At this write time, CentOS ships the following versions of nano:

Centos 5.9

nano --version
 GNU nano versión 1.3.12 (compilado 14:20:47, Jan  9 2007)
 Correo: nano@nano-editor.org   Web: http://www.nano-editor.org
 Opciones compiladas: --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8

Centos 6.4

nano --version
 GNU nano versión 2.0.9 (compilado 07:18:28, Nov 12 2010)
 (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 Free Software Foundation, Inc.
 Correo: nano@nano-editor.org   Web: http://www.nano-editor.org
 Opciones compiladas: --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8

For install a new version, previously ensure remove the nano package installed with:

# yum remove nano

After you can install the rpm package from nano download page (for example 2.2.6 for 64 bits):

# rpm -ivh http://www.nano-editor.org/dist/v2.2/RPMS/nano-2.2.6-1.x86_64.rpm

As far I see, upgrading the nano package doesn't have any compability problems in 5.9 or 6.4.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.