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

Last updated: November 25,2024

1. Install "libxml2" package

Please follow the guidelines below to install libxml2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libxml2

2. Uninstall "libxml2" package

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

$ sudo apt remove libxml2 $ sudo apt autoclean && sudo apt autoremove

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

Package: libxml2
Version: 2.9.14+dfsg-1.3~deb12u1
Installed-Size: 1866
Maintainer: Debian XML/SGML Group
Architecture: amd64
Depends: libc6 (>= 2.34), libicu72 (>= 72.1~rc-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Conflicts: w3c-dtd-xhtml
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Multi-Arch: same
Homepage: http://xmlsoft.org
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/libx/libxml2/libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb
Size: 686904
MD5sum: 68f5d59c5d740102daf67816f4573c55
SHA256: 35b76cb7038fc1c940204a4f05f33ffb79d027353ce469397d9adcf8f9b3e1a7