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

Last updated: December 30,2024

1. Install "libxml2-dev" package

This tutorial shows how to install libxml2-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libxml2-dev

2. Uninstall "libxml2-dev" package

Learn how to uninstall libxml2-dev on Debian 12 (Bookworm):

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

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

Package: libxml2-dev
Source: libxml2
Version: 2.9.14+dfsg-1.3~deb12u1
Installed-Size: 3279
Maintainer: Debian XML/SGML Group
Architecture: amd64
Depends: libicu-dev, libxml2 (= 2.9.14+dfsg-1.3~deb12u1)
Suggests: pkg-config
Description: GNOME XML library - development files
Description-md5: 315d877f425ed2a2bbe448d2e81be6e6
Multi-Arch: same
Homepage: http://xmlsoft.org
Tag: devel::library, implemented-in::c, interface::graphical, interface::x11,
role::devel-lib, role::program, suite::gnome, uitoolkit::gtk,
works-with-format::xml, x11::application
Section: libdevel
Priority: optional
Filename: pool/main/libx/libxml2/libxml2-dev_2.9.14+dfsg-1.3~deb12u1_amd64.deb
Size: 781880
MD5sum: 0d24c05b85772a585e181cabbd48879a
SHA256: adce736a1c304cc6d5ddcdd243bc9069bc1ffe38574bb81e8ba087af5072c29b