How to Install and Uninstall bash Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 28,2024

1. Install "bash" package

This is a short guide on how to install bash on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install bash

2. Uninstall "bash" package

This tutorial shows how to uninstall bash on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the bash package on Ubuntu 21.04 (Hirsute Hippo)

Package: bash
Architecture: amd64
Version: 5.1-2ubuntu1
Multi-Arch: foreign
Priority: required
Essential: yes
Section: shells
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1888
Pre-Depends: libc6 (>= 2.33), libtinfo6 (>= 6)
Depends: base-files (>= 2.1.12), debianutils (>= 2.15)
Recommends: bash-completion (>= 20060301-0)
Suggests: bash-doc
Conflicts: bash-completion (<< 20060301-0)
Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1)
Filename: pool/main/b/bash/bash_5.1-2ubuntu1_amd64.deb
Size: 731348
MD5sum: d90b55208ceded1eada3326512ffd16a
SHA1: e1e0256197815ae19b2ae614b3e34d4fdc777979
SHA256: 48892ec2a91ed6d2f8358ec705ff0791255502c423d61dedfe8e6602c05bd85b
SHA512: 0b7bebfae74c3aedd21ed0ec4b82cce72a35dcf0a4c16c933c0309bd33285737fb004113f4c4b777d56945f8266dc7810c17cc2c982e5ec0e87a390cb3865456
Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html
Description-en: GNU Bourne Again SHell
Bash is an sh-compatible command language interpreter that executes
commands read from the standard input or from a file. Bash also
incorporates useful features from the Korn and C shells (ksh and csh).
.
Bash is ultimately intended to be a conformant implementation of the
IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2).
.
The Programmable Completion Code, by Ian Macdonald, is now found in
the bash-completion package.
Description-md5: 3522aa7b4374048d6450e348a5bb45d9
Task: minimal