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

Last updated: May 15,2024

1. Install "zlib1g" package

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

$ sudo apt update $ sudo apt install zlib1g

2. Uninstall "zlib1g" package

Please follow the guidelines below to uninstall zlib1g on Debian 12 (Bookworm):

$ sudo apt remove zlib1g $ sudo apt autoclean && sudo apt autoremove

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

Package: zlib1g
Source: zlib
Version: 1:1.2.13.dfsg-1
Installed-Size: 168
Maintainer: Mark Brown
Architecture: amd64
Provides: libz1
Depends: libc6 (>= 2.14)
Conflicts: zlib1 (<= 1:1.0.4-7)
Breaks: libxml2 (<< 2.7.6.dfsg-2), texlive-binaries (<< 2009-12)
Description: compression library - runtime
Description-md5: 567f396aeeb2b2b63295099aed237057
Multi-Arch: same
Homepage: http://zlib.net/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/z/zlib/zlib1g_1.2.13.dfsg-1_amd64.deb
Size: 86684
MD5sum: ec42cc09e926444a817ddd913057af67
SHA256: d7dd1d1411fedf27f5e27650a6eff20ef294077b568f4c8c5e51466dc7c08ce4