Packages / nano

APT repository · deb.freshdeb.com/nano

nano

GNU nano, the small and friendly text editor, with syntax highlighting, multiple buffers, undo and search and replace with regular expressions. One release line for Debian 12 and 13, Ubuntu 22.04, 24.04 and 26.04 on amd64 and arm64.

Componentmain

follows every upstream release, minors and majors included. Currently 9.3.

Release line
Deliver to
nano 9.3-1+freshdeb~deb13

1Trust the signing key (once per machine)

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.freshdeb.com/freshdeb-archive-keyring.gpg \
  | sudo tee /etc/apt/keyrings/freshdeb-archive-keyring.gpg >/dev/null

Fingerprint 3BBD F03A 9C0B F890 F8CA 9510 7595 CC55 468F 3161. How to verify.

2Add the source

sudo tee /etc/apt/sources.list.d/freshdeb-nano.sources >/dev/null <<EOF
Types: deb
URIs: https://deb.freshdeb.com/nano
Suites: $(. /etc/os-release && echo $VERSION_CODENAME)
Components: main
Signed-By: /etc/apt/keyrings/freshdeb-archive-keyring.gpg
EOF

With auto, the shell reads the codename from /etc/os-release on the machine you paste this into.

3Install

sudo apt update && sudo apt install nano
apt policy nano   # expect 9.3-1+freshdeb~…

Before you upgrade from the distribution's nano

The freshdeb version sorts higher, so apt upgrade moves you over in place. Some keys changed since the distributions' versions. Since 8.0, ^F and ^B search forward and backward instead of moving the cursor, and ^L cycles the current line through the screen; 9.0 dropped M-< and M-> for switching files and the ^T toggle in WhereIs. Lines to restore the old bindings in ~/.nanorc are in the package's NEWS entry, shown by apt-listchanges, and in /usr/share/doc/nano/examples/sample.nanorc.

nano 9.3-1+freshdeb~deb13

Compared with Debian's package

Debian's packaging decides where things go: package names, paths, users, services and how upgrades behave. The build follows upstream's own release builds wherever Debian's differs.

Build
Debian's packaging, from GNU's signed release tarball. It patches nothing upstream. The overlays only let it build with the releases' debhelper and add a NEWS entry on the changed keys.
Variants
nano, the full editor, and nano-tiny, a minimal build without syntax highlighting or nanorc files. Debian's installer package isn't built.
Layout
Debian's: /etc/nanorc, the syntax files in /usr/share/nano, and nano as an editor alternative.

Packing list

Every release line of nano and the distributions it's built for. Each line is its own APT component and only gets the releases it follows (main: every upstream release, minors and majors included). After upstream end of life it stops building but stays installable. Hatched cells have no build: usually that distribution already ships the same or a newer version itself.

LineComponentCurrentbookwormDebian 12trixieDebian 13jammyUbuntu 22.04nobleUbuntu 24.04resoluteUbuntu 26.04Support
main main 9.3 built: 9.3-1built: 9.3-1built: 9.3-1built: 9.3-1built: 9.3-1 –

Versions follow <upstream>-<revision>+freshdeb~<distro>, distro being deb12, deb13, ubuntu22.04, ubuntu24.04 or ubuntu26.04, for amd64 and arm64. Published versions are never rebuilt or replaced.

Contents

nano
The editor.
nano-tiny
A minimal build, without syntax highlighting or nanorc files.

Origin

Upstream
git.savannah.gnu.org/git/nanorelease tags pinned to commit hashes, built from the checksummed release tarball
Debian packaging
salsa.debian.org/debian/nanoimported unmodified at 1b02da7 (9.3-1, unstable)
Our changes
overlays under overlays/ for bookworm, trixie, jammy, noble, resolute.
Built for
bookworm, trixie, jammy, noble, resoluteamd64, arm64, built natively
Files
package.yaml · debian/ · report an issuepackage.yaml explains every change

Also in Developer tools

Maintained by Blendbyte

Blendbyte builds cloud infrastructure, web apps, and developer tools. We've been shipping software to production for 20+ years.

These packages run in our own stack, which is why we keep them maintained. Issues and PRs get read. Good ones get merged.

Also from Blendbytenginx-modules.com: pre-built nginx dynamic modules (Brotli, GeoIP2, ModSecurity and more) for nginx.org's nginx, on the same Debian and Ubuntu releases.

Tindra: self-hosted error tracking and monitoring that works with Sentry SDKs. Packaged here, like everything else.