MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« Vi Improved HOME Python module MarkupSafe »

GNU Nano

Name: GNU Nano
Summary: A simple terminal text editor
License: GPL v3.0 or later
Version: 8.7
URL: https://ftp.gnu.org/gnu/nano/nano-8.7.tar.xz

Average Build Time: 0.2 SBU
Used Install Space: 3.7 MiB

Configuration

To configure GNU Nano for install into the build root, run the following command:

./configure --prefix=/usr                       \
            --libdir=/usr/lib64                 \
            --libexecdir=/usr/lib64             \
            --docdir=/usr/share/doc/nano-8.7    \
            --sysconfdir=/etc                   \
            --disable-rpath                     \
            --enable-threads=posix              \
            --enable-utf8                       \
            --enable-year2038

Compilation and Installation

To compile GNU Nano, run the following command:

make

This package does not come with a test suite.

Finally, to install GNU Nano into the build tree, run the following command:

make install
install -v -m 644 -o root -g root ../system_files/etc/nanorc /etc/

Contents

Contents  
Installed Programs nano and rnano
Installed Files /usr/share/nano
Navigation    
« Vi Improved HOME Python module MarkupSafe »