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

Last updated: May 07,2024

1. Install "libxml2" package

Please follow the step by step instructions below to install libxml2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libxml2

2. Uninstall "libxml2" package

This is a short guide on how to uninstall libxml2 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: libxml2
Priority: optional
Section: libs
Installed-Size: 1927
Maintainer: Debian XML/SGML Group
Architecture: amd64
Version: 2.9.14+dfsg-0.1+ubuntu20.04.1+deb.sury.org+1
Depends: libc6 (>= 2.29), libicu66 (>= 66.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/libx/libxml2/libxml2_2.9.14+dfsg-0.1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 714492
MD5sum: 1d02e31b721f6e9a5c3f22fed6b8d7bd
SHA1: 787dba14a9708124a7a7899de08e45a29a06eec6
SHA256: 6758d2439613f1dc208998b59bff83066170e9fe795fe55ef7d08ca9d2ab35ff
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Multi-Arch: same

Package: libxml2
Architecture: amd64
Version: 2.9.10+dfsg-5ubuntu0.20.04.6
Multi-Arch: same
Priority: important
Section: libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian XML/SGML Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1924
Depends: libc6 (>= 2.29), libicu66 (>= 66.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/libx/libxml2/libxml2_2.9.10+dfsg-5ubuntu0.20.04.6_amd64.deb
Size: 640416
MD5sum: bd2d8832ce0867b631e1568b946dd36f
SHA1: 7e0c277a150af8739302854a296b08bd653932a5
SHA256: a8cbd10a0d74ff8ec43a7e6c09ad07629f20efea9972799d9ff7f63c4e82bfcf
SHA512: 0340a09af6ccba473ad7434cc2b1ca347bfdbf813707b4e7beef84aa3cade433e577c2a745379a5f0ef243e055178feb34779a32b7b370519e4717dedf1e249e
Homepage: http://xmlsoft.org
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Task: minimal

Package: libxml2
Architecture: amd64
Version: 2.9.10+dfsg-5
Multi-Arch: same
Priority: important
Section: libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian XML/SGML Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1923
Depends: libc6 (>= 2.29), libicu66 (>= 66.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/libx/libxml2/libxml2_2.9.10+dfsg-5_amd64.deb
Size: 639872
MD5sum: a85a897dbb866252ab138abfd4a9181b
SHA1: f0c859224d4ee2068d8ef122c3640aaa2a62445b
SHA256: cb6dd69e27bd86cfe9eff7bf548632325fed6b8fa4d2e6c6c3ae8fc7cefe967c
Homepage: http://xmlsoft.org
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Task: minimal