Install Nano Text Editor on PiLFS

Install Nano Text Editor on PiLFS

Pilfs does come with vi, but i personally prefer nano text editor so let compile config and install it.

First we need to grab the tar file and extract it.


wget http://ftp.gnu.org/gnu/nano/nano-2.4.1.tar.gz
tar -xzvf nano-2.4.1.tar.gz
cd nano-2.4.1

Now lets install nano with the following commands:


./configure --prefix=/usr 
--sysconfdir=/etc 
--enable-utf8 
--docdir=/usr/share/doc/nano-2.4.1 &&
make

And then:


make install &&
install -v -m644 doc/nanorc.sample /etc &&
install -v -m644 doc/texinfo/nano.html /usr/share/doc/nano-2.4.1

Now you should have nano text editor up and running just execute the command: nano 🙂

 

Leave a Reply

Be the First to Comment!

Notify of

wpDiscuz