Enviado em 03/11/2018 - 20:36h
$ sudo apt update
$ sudo apt list --upgradable
$ sudo apt -t stretch-backports dist-upgrade
$ sudo apt -t stretch-backports install build-essential packaging-dev
$ dget -x -u http://http.debian.net/debian/pool/main/n/nano/nano_3.1-1.dsc
$ cd nano-3.1
$ mk-build-deps
$ sudo dpkg -i nano-build-deps_3.1-1_all.deb
$ sudo apt-get -t stretch-backports -f install
$ dpkg-buildpackage -us -uc -b -tc
$ sudo dpkg -i ../nano_3.1-1_amd64.deb
$ nano --version
$ nano --version
GNU nano, versão 3.1
(C) 1999-2011, 2013-2018 Free Software Foundation, Inc.
(C) 2014-2018 os contribuidores do nano
Email: nano@nano-editor.org Web: https://nano-editor.org/
Opções compiladas: --disable-libmagic --disable-wrapping-as-root --enable-utf8