How to Install and Uninstall libxml2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 24,2024

1. Install "libxml2" package

Learn how to install libxml2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libxml2

2. Uninstall "libxml2" package

This tutorial shows how to uninstall libxml2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libxml2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libxml2
Priority: optional
Section: libs
Installed-Size: 1943
Maintainer: Debian XML/SGML Group
Architecture: amd64
Version: 2.9.14+dfsg-0+ubuntu18.04.1+deb.sury.org+1
Depends: libc6 (>= 2.15), libicu65 (>= 65.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/libx/libxml2/libxml2_2.9.14+dfsg-0+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 730704
MD5sum: 9eba54970476666a2f8b305f48d7f9fa
SHA1: d122789f0a42f28ab188e76e7b4873a6ccee028c
SHA256: 5df0aed826a2714ad798e789afc024fc20d0b8d5d051e905c5c6020d3b02d64e
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Multi-Arch: same

Package: libxml2
Architecture: amd64
Version: 2.9.4+dfsg1-6.1ubuntu1.7
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: 1951
Depends: libc6 (>= 2.15), libicu60 (>= 60.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/libx/libxml2/libxml2_2.9.4+dfsg1-6.1ubuntu1.7_amd64.deb
Size: 663488
MD5sum: cf1b8cb1eb75207db856b77b0929bfe5
SHA1: 9bdfadc123173f8994049fe30e83bf255cdacf09
SHA256: 0d8969ee85db82f80baa5aedd971c6b9e86c5e2a923b3d87ab3f46fc6dd078d6
SHA512: 492fe2dee004dee26bdb007f8982c6abb4ddcb3d44a22080ff4d4144c8b5bbf38d02ac92ed315077d37a7ad9496aafd01958f290dc414b4bebdc5222ff8e1881
Homepage: http://xmlsoft.org
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Task: minimal
Supported: 5y

Package: libxml2
Architecture: amd64
Version: 2.9.4+dfsg1-6.1ubuntu1
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: 1950
Depends: libc6 (>= 2.15), libicu60 (>= 60.1-1~), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/libx/libxml2/libxml2_2.9.4+dfsg1-6.1ubuntu1_amd64.deb
Size: 662332
MD5sum: dce8a9d06e1096e480c08dd29e4a1d0d
SHA1: 804ee6e497b299e0890378ad92e77f367d03a50c
SHA256: dd06f89f473c064cd41aab501d684eea5f9dd991a76dac133f96fa9c742944c6
Homepage: http://xmlsoft.org
Description: GNOME XML library
Description-md5: 6771e66f557fa0f71e6955303e1d8f8d
Task: minimal
Supported: 5y