How to Install and Uninstall libxml2-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 25,2024

1. Install "libxml2-dev" package

This tutorial shows how to install libxml2-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libxml2-dev

2. Uninstall "libxml2-dev" package

This guide covers the steps necessary to uninstall libxml2-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libxml2-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libxml2-dev
Source: libxml2
Priority: optional
Section: libdevel
Installed-Size: 3393
Maintainer: Debian XML/SGML Group
Architecture: amd64
Version: 2.9.14+dfsg-0.1+ubuntu20.04.1+deb.sury.org+1
Suggests: pkg-config
Depends: libicu-dev, libxml2 (= 2.9.14+dfsg-0.1+ubuntu20.04.1+deb.sury.org+1)
Filename: pool/main/libx/libxml2/libxml2-dev_2.9.14+dfsg-0.1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 810324
MD5sum: faf7232146465d8b06105f8471ec4543
SHA1: 9f8698d617f5168d5d42978cbddf88db01dd387d
SHA256: 0a13bbe7e35eee6f7a62493b5d4374359a6a98f3f07fe6ea5f5cec36815695ac
Description: Development files for the GNOME XML library
Description-md5: 3fc5da551079ce5d27e8aae047e7a888
Multi-Arch: same

Package: libxml2-dev
Architecture: amd64
Version: 2.9.10+dfsg-5ubuntu0.20.04.6
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libxml2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian XML/SGML Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3414
Depends: libicu-dev, libxml2 (= 2.9.10+dfsg-5ubuntu0.20.04.6)
Suggests: pkg-config
Filename: pool/main/libx/libxml2/libxml2-dev_2.9.10+dfsg-5ubuntu0.20.04.6_amd64.deb
Size: 735268
MD5sum: 6ad324cd2aa42fb37369a41f882d6f6a
SHA1: 94d421881966dde5d78fb1b6a99c7c93cc1614b3
SHA256: b1e620fb8e84f6991fcd315861586ae218a3d63328571c17f9c3afa0d7286672
SHA512: 2741ebf4e1326ac35663eb4fb2bd7191e77de80c195ac2d1eeb085d03205b4615bdda10851efccfc36b02dbe42ff2a8522d7c5abb39f81793d910f476c2a7574
Homepage: http://xmlsoft.org
Description: Development files for the GNOME XML library
Description-md5: 3fc5da551079ce5d27e8aae047e7a888

Package: libxml2-dev
Architecture: amd64
Version: 2.9.10+dfsg-5
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libxml2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian XML/SGML Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3414
Depends: libicu-dev, libxml2 (= 2.9.10+dfsg-5)
Suggests: pkg-config
Filename: pool/main/libx/libxml2/libxml2-dev_2.9.10+dfsg-5_amd64.deb
Size: 736728
MD5sum: 7523158eafa6731d6c754b91ca3e4920
SHA1: 3e4acab41d03dea42e6cbee0414b94b307f27b4d
SHA256: 469d95b6d9f160cd07fb24b39a89e840b310d4311916ec96d08924139e4813c9
Homepage: http://xmlsoft.org
Description: Development files for the GNOME XML library
Description-md5: 3fc5da551079ce5d27e8aae047e7a888