shells/bash - The NetBSD Packages Collection

The GNU Bourne Again Shell

Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without

Build dependencies

pkgtools/mktools devel/bison pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64bash-5.2.26nb1.tgz
NetBSD 10.0aarch64bash-5.2.21nb1.tgz
NetBSD 10.0aarch64ebbash-5.2.26nb1.tgz
NetBSD 10.0alphabash-5.2.21nb1.tgz
NetBSD 10.0alphabash-5.2.26nb1.tgz
NetBSD 10.0earmv4bash-5.2.21nb1.tgz
NetBSD 10.0earmv4bash-5.2.26nb1.tgz
NetBSD 10.0earmv6hfbash-5.2.26nb1.tgz
NetBSD 10.0earmv6hfbash-5.2.21nb1.tgz
NetBSD 10.0earmv7hfbash-5.2.26nb1.tgz
NetBSD 10.0earmv7hfbash-5.2.21nb1.tgz
NetBSD 10.0i386bash-5.2.26nb1.tgz
NetBSD 10.0i386bash-5.2.21nb1.tgz
NetBSD 10.0m68kbash-5.2.21nb1.tgz
NetBSD 10.0m68kbash-5.2.26nb1.tgz
NetBSD 10.0mips64ebbash-5.2.21nb1.tgz
NetBSD 10.0mips64ebbash-5.2.26nb1.tgz
NetBSD 10.0powerpcbash-5.2.15.tgz
NetBSD 10.0powerpcbash-5.2.21nb1.tgz
NetBSD 10.0sh3elbash-5.2.21nb1.tgz
NetBSD 10.0sh3elbash-5.2.26nb1.tgz
NetBSD 10.0sparc64bash-5.2.26nb1.tgz
NetBSD 10.0sparcbash-5.2.21nb1.tgz
NetBSD 10.0sparcbash-5.2.26nb1.tgz
NetBSD 10.0vaxbash-5.2.21nb1.tgz
NetBSD 10.0vaxbash-5.2.26nb1.tgz
NetBSD 10.0x86_64bash-5.2.26nb1.tgz
NetBSD 10.0x86_64bash-5.2.21nb1.tgz
NetBSD 9.0aarch64bash-5.2.26nb1.tgz
NetBSD 9.0aarch64bash-5.2.21nb1.tgz
NetBSD 9.0alphabash-5.2.21nb1.tgz
NetBSD 9.0alphabash-5.2.26nb1.tgz
NetBSD 9.0earmbash-5.2.15.tgz
NetBSD 9.0earmv4bash-5.2.21nb1.tgz
NetBSD 9.0earmv4bash-5.2.26nb1.tgz
NetBSD 9.0earmv6hfbash-5.2.26nb1.tgz
NetBSD 9.0earmv6hfbash-5.2.21nb1.tgz
NetBSD 9.0earmv7hfbash-5.2.26nb1.tgz
NetBSD 9.0earmv7hfbash-5.2.21nb1.tgz
NetBSD 9.0i386bash-5.2.26nb1.tgz
NetBSD 9.0i386bash-5.2.21nb1.tgz
NetBSD 9.0m68kbash-5.2.21nb1.tgz
NetBSD 9.0m68kbash-5.2.26nb1.tgz
NetBSD 9.0mips64ebbash-5.2.15.tgz
NetBSD 9.0mipselbash-5.2.15.tgz
NetBSD 9.0powerpcbash-5.2.21nb1.tgz
NetBSD 9.0powerpcbash-5.2.15.tgz
NetBSD 9.0sh3elbash-5.2.15.tgz
NetBSD 9.0sparc64bash-5.2.15.tgz
NetBSD 9.0sparc64bash-5.2.26nb1.tgz
NetBSD 9.0sparcbash-5.2.15.tgz
NetBSD 9.0vaxbash-5.2.15.tgz
NetBSD 9.0vaxbash-5.2.21nb1.tgz
NetBSD 9.0x86_64bash-5.2.26nb1.tgz
NetBSD 9.0x86_64bash-5.2.21nb1.tgz
NetBSD 9.3x86_64bash-5.2.26nb1.tgz
NetBSD 9.3x86_64bash-5.2.26nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

Use native language support.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.