-
Notifications
You must be signed in to change notification settings - Fork 400
Minimum bash versions
Ville Skyttä edited this page Oct 19, 2025
·
11 revisions
- more robust test suite:
completion-display-width 0
ininputrc
- code cleanups: negative array indexes (but not assignments); suspect grep:
[${#
- code cleanups:
test
/[[
-v
- TBD: lastpipe option
LTS OS versions with bash 4.1:
- CentOS 6 etc, EoL 2020-11-30
- code cleanups, major niceties: namerefs
- code cleanups: negative array index assignments, unsetting; suspect grep:
[${#
- code cleanups: no longer need some array
nounset
defense like in(($[#COMPREPLY[@]})) && COMPREPLY=("${COMPREPLY[@]/%/ }")
LTS OS versions with bash 4.2:
- RHEL and CentOS 7, EoL 2024-06-30 (ELS 2026-06-30)
- code cleanups: parameter transformations (e.g.
${foo@Q}
)
Will likely skip this directly to 5.0 though; see 4.2 LTS OS's.
LTS OS versions with bash 4.3:
- Debian 8, EoL 2020-06-30
- Ubuntu 14.04, EoL 2024-04
- Ubuntu 16.04, EoL 2021-04-02/2021-04-02/2026-04-02 (standard/ESM)
TBD
LTS OS versions with bash 4.4:
- RHEL 8 and derivatives, EoL 2024-05-31/2029-05-31/2032-05-31 (full/maint/extended)
- Debian 9, EoL 2022-06-30
- Ubuntu 18.04, EoL 2023-05-31/2028-04-01 (standard/ESM)
TBD
LTS OS versions with bash 5.0:
- Debian 10, EoL 2024-06-30
- Ubuntu 20.04, EoL 2022-10-01/2025-05-31/2030-04-02 (standard/security/ESM)
TBD
LTS OS versions with bash 5.1:
- Debian 11, EoL 2026-08-31
- RHEL 9 and derivatives, EoL 2027-05-31/2032-05-31/2035-05-31 (full/maint/extended)
- Ubuntu 22.04, EoL 2024-09-30/2027-04-01/2032-04-09 (standard/security/ESM)