How to Install and Uninstall libxml2 Package on Debian 11 (Bullseye)

Last updated: May 13,2024

1. Install "libxml2" package

This guide let you learn how to install libxml2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libxml2

2. Uninstall "libxml2" package

This guide covers the steps necessary to uninstall libxml2 on Debian 11 (Bullseye):

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

3. Information about the libxml2 package on Debian 11 (Bullseye)

Package: libxml2
Version: 2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45
Architecture: amd64
Maintainer: Debian XML/SGML Group
Installed-Size: 1895
Depends: libc6 (>= 2.29), libicu67 (>= 67.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Multi-Arch: same
Homepage: http://xmlsoft.org
Priority: optional
Section: libs
Filename: pool/main/libx/libxml2/libxml2_2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45_amd64.deb
Size: 705012
SHA256: 31adde46a101424f3398b8c5643f1201aac477a1b4070d511a12d8cac7a3520d
SHA1: 5ee305b00f5b4cb4df41658c5372a4b04aab465d
MD5sum: d98afe43d225a973f85debd5011149aa
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d

Package: libxml2
Version: 2.9.10+dfsg-6.7+deb11u2
Installed-Size: 1875
Maintainer: Debian XML/SGML Group
Architecture: amd64
Depends: libc6 (>= 2.29), libicu67 (>= 67.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
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.10+dfsg-6.7+deb11u2_amd64.deb
Size: 692148
MD5sum: 9c1aeaf486f155e5f6b8aea830d1faa1
SHA256: 4e0fe50fee6c42eeb8a77c55f08baca4f7ebc7d443760ffaaf5f437274f25800