4.5. Nano-9.0

The Nano package contains a small, simple text editor which aims to replace Pico.

Package Information

4.5.1. Installation of Nano

Prepare Nano for compilation:

Now Configure the Package, issue:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --enable-utf8 \
            --docdir=/usr/share/doc/nano-9.0

To Compile the Package, issue:

make

Now Install the Package, issue:

make install
install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-9.0

4.5.2. Configuration of Nano

cat > /etc/nanorc << "EOF"
# Begin /etc/nanorc

set autoindent
# set boldtext
set constantshow
set fill 72
set historylog
set indicator
set multibuffer
set positionlog
set quickblank
set regexp
# set softwrap
set tabsize 4

include /usr/share/nano/c.nanorc
include /usr/share/nano/sh.nanorc
include /usr/share/nano/yaml.nanorc

# End /etc/nanorc
EOF

4.5.3. Contents of Nano

Installed programs: PROGRAMS
Installed libraries: LIBRARIES
Installed directories: DIRECTORIES