How To Install Nano 2.4 On Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04 And Derivative Systems

Hello Linux Geeksters. As you may know, Nano is an open-source, user-friendly, text user interface text editor, based on Pico, which is released under a proprietary license.

While it is not as complex as Vim or Emacs, Nano has syntax highlighting and indentation features.

Useful Nano tips:

  • Disable mouse support – Alt+M
  • Go to next line – Ctrl+N
  • Go to previous line – Ctrl+P
  • Go to the next chapter – Ctrl+F
  • Go to the previous chapter – Ctrl+B

The latest version available is Nano 2.4, which has been recently released, coming with support for undo and redo (Alt+U for undo and Alt+E for redo) and a huge list of changes.

 how to install Nano 2.4 on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2

In this article I will show you how to install Nano 2.4 on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Deepin 2014, Peppermint Five, LXLE 14.04, Linux Lite 2 and other Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04 and derivative systems.

Because Nano 2.4 is not available via any repository or PPA, we have to install the nano dependencies, download the nano archive and install nano, from sources, like this:

$ sudo apt-get build-dep nano
$ wget http://www.nano-editor.org/dist/v2.4/nano-2.4.0.tar.gz
$ tar -xzvf nano-2.4.0.tar.gz
$ cd nano-2.4.0
$ ./configure --prefix=$HOME/usr
$ make
$ make install
$ cd ..
$ rm -r nano-2.4.0.tar.gz nano-2.4.0

Optional, to remove nano, do:

$ rm $HOME/usr/nano-2.4.0

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!
One comment on “How To Install Nano 2.4 On Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04 And Derivative Systems
  1. Joe Lotz says:

    Just fyi, to get this to work on my vagrant virtual environment I had to configure as:
    $ ./configure –prefix=/usr

    for some reason the $HOME variable wasn’t quite right in the virtual env.

    Also,
    $ sudo make install

    ~thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!