wget https://www.nano-editor.org/dist/v5/nano-5.8.tar.xz tar -xf nano-5.8.tar.xz cd nano-5.8 ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-utf8 \ --disable-docs \ --docdir=/usr/share/doc/nano-5.8 make make DESTDIR="$1" install