nano - Nano's ANOther editor, or Not ANOther editor (a pico clone) ChangeLog

HOWTO


# GNU nano 2.0.6
# ==============
# Slackware's 'nano' package includes version 2.0.6

# Prerequisites:
# gettext (optional)
# ncurses or slang
# iconv (optional)
# glib (I think it's only required if you don't have a snprintf()
#   or vsnprintf())

# nano can be built with and without several features, you may want to
# peruse through './configure --help' to see what options are available

# Below I use --disable-nls because I'm in the US and only speak English
# (well), if this is not the case for you, leave that off

cd
test -f installed/nano-2.0.6.tar.gz && mv installed/nano-2.0.6.tar.gz .
test ! -f nano-2.0.6.tar.gz &&
wget http://www.nano-editor.org/dist/v2.0/nano-2.0.6.tar.gz

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "619107f0fc3c4383d668cef15aa3ca32  nano-2.0.6.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "00102580404cdb1c8594e5f6193000d5acac2249  nano-2.0.6.tar.gz" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 29356831 > /dev/null 2>&1 || gpg --recv-keys 29356831 ) &&
wget -nc http://www.nano-editor.org/dist/v2.0/nano-2.0.6.tar.gz.asc &&
gpg --verify nano-2.0.6.tar.gz.asc && rm nano-2.0.6.tar.gz.asc

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "nano-*" -exec rm -r {} \;
tar xzvf ~/nano-2.0.6.tar.gz
cd nano-2.0.6
test $UID = 0 && chown -R root:root .
./configure --disable-nls
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg nano
make install-strip

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/nano-*.tar.*
mv nano-2.0.6.tar.gz installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2007-09-11 10:08pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]