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

Last updated: September 20,2024

1. Install "zsh" package

This guide covers the steps necessary to install zsh on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install zsh

2. Uninstall "zsh" package

Please follow the instructions below to uninstall zsh on Debian 12 (Bookworm):

$ sudo apt remove zsh $ sudo apt autoclean && sudo apt autoremove

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

Package: zsh
Source: zsh (5.9-4)
Version: 5.9-4+b2
Installed-Size: 2461
Maintainer: Debian Zsh Maintainers
Architecture: amd64
Depends: zsh-common (= 5.9-4), libc6 (>= 2.34), libcap2 (>= 1:2.10), libtinfo6 (>= 6), debianutils (>= 5.3-1~)
Recommends: libc6 (>= 2.35), libgdbm6 (>= 1.16), libncursesw6 (>= 6), libpcre3
Suggests: zsh-doc
Description: shell with lots of features
Description-md5: a129d6b2d23d2d5d3a6b822d3f8f856d
Homepage: https://www.zsh.org/
Tag: devel::interpreter, implemented-in::c, interface::shell,
network::client, protocol::ftp, role::program, scope::utility
Section: shells
Priority: optional
Filename: pool/main/z/zsh/zsh_5.9-4+b2_amd64.deb
Size: 907572
MD5sum: 4291d5bb08024bc07bc7fc1a1db77a9d
SHA256: ccc0a5b866f0997f29f981a2bb2ff1604ec5fe235660fb9772db738c9e737cf1