How to Install and Uninstall bash Package on Debian 12 (Bookworm)

Last updated: April 28,2024

1. Install "bash" package

Please follow the step by step instructions below to install bash on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install bash

2. Uninstall "bash" package

This guide covers the steps necessary to uninstall bash on Debian 12 (Bookworm):

$ sudo apt remove bash $ sudo apt autoclean && sudo apt autoremove

3. Information about the bash package on Debian 12 (Bookworm)

Package: bash
Source: bash (5.2.15-2)
Version: 5.2.15-2+b2
Essential: yes
Installed-Size: 7164
Maintainer: Matthias Klose
Architecture: amd64
Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1)
Depends: base-files (>= 2.1.12), debianutils (>= 5.6-0.1)
Pre-Depends: libc6 (>= 2.36), libtinfo6 (>= 6)
Recommends: bash-completion (>= 20060301-0)
Suggests: bash-doc
Conflicts: bash-completion (<< 20060301-0)
Description: GNU Bourne Again SHell
Description-md5: 3522aa7b4374048d6450e348a5bb45d9
Multi-Arch: foreign
Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html
Tag: admin::TODO, devel::TODO, devel::interpreter, implemented-in::c,
interface::shell, interface::text-mode, role::program,
scope::application, suite::gnu, uitoolkit::ncurses
Section: shells
Priority: required
Filename: pool/main/b/bash/bash_5.2.15-2+b2_amd64.deb
Size: 1490660
MD5sum: d610fd7dab5e5a8bf29523543a418037
SHA256: 5325e63acaecb37f6636990328370774995bd9b3dce10abd0366c8a06877bd0d