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

Last updated: May 08,2024

1. Install "libxml2-dev" package

Please follow the guidance below to install libxml2-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libxml2-dev

2. Uninstall "libxml2-dev" package

Please follow the guidelines below to uninstall libxml2-dev on Debian 11 (Bullseye):

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

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

Package: libxml2-dev
Source: libxml2
Version: 2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45
Architecture: amd64
Maintainer: Debian XML/SGML Group
Installed-Size: 3342
Depends: libicu-dev, libxml2 (= 2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45)
Suggests: pkg-config
Multi-Arch: same
Homepage: http://xmlsoft.org
Priority: optional
Section: libdevel
Filename: pool/main/libx/libxml2/libxml2-dev_2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45_amd64.deb
Size: 801052
SHA256: b7175296c389ff18a8f2cac0e2bbab56458a637fb00aa9b387ae9d70d2a8b7c7
SHA1: b65044c1330dd49e79d4747e60ca855427331962
MD5sum: bc6cfb679956ca1f9f8af5e30c56f5a2
Description: Development files for the GNOME XML library
Description-md5: 3fc5da551079ce5d27e8aae047e7a888

Package: libxml2-dev
Source: libxml2
Version: 2.9.10+dfsg-6.7+deb11u2
Installed-Size: 3322
Maintainer: Debian XML/SGML Group
Architecture: amd64
Depends: libicu-dev, libxml2 (= 2.9.10+dfsg-6.7+deb11u2)
Suggests: pkg-config
Description: Development files for the GNOME XML library
Description-md5: 3fc5da551079ce5d27e8aae047e7a888
Multi-Arch: same
Homepage: http://xmlsoft.org
Tag: devel::library, implemented-in::c, role::devel-lib, suite::gnome,
uitoolkit::gtk, works-with-format::xml
Section: libdevel
Priority: optional
Filename: pool/main/libx/libxml2/libxml2-dev_2.9.10+dfsg-6.7+deb11u2_amd64.deb
Size: 790576
MD5sum: b00b812b420cffe4dd3209e923e88e53
SHA256: cc286c30799dcb9e3a065b38761589d1b931ecd1b2286bca7235c5198ea96c6d