How to Install and Uninstall libxml2.x86_64 Package on Amazon Linux 2

Last updated: November 14,2024

1. Install "libxml2.x86_64" package

Please follow the steps below to install libxml2.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libxml2.x86_64

2. Uninstall "libxml2.x86_64" package

This tutorial shows how to uninstall libxml2.x86_64 on Amazon Linux 2:

$ sudo yum remove libxml2.x86_64 $ sudo yum autoremove

3. Information about the libxml2.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : libxml2
Arch : x86_64
Version : 2.9.1
Release : 6.amzn2.5.4
Size : 1.6 M
Repo : installed
Summary : Library providing XML and HTML support
URL : http://xmlsoft.org/
License : MIT
Description : This library allows to manipulate XML files. It includes support
: to read, modify and write XML and HTML files. There is DTDs
: support this includes parsing and validation even with complex
: DtDs, either at parse time or later once the document has been
: modified. The output can be a simple SAX stream or and in-memory
: DOM like representations. In this case one can use the built-in
: XPath and XPointer implementation to select sub nodes or ranges. A
: flexible Input/Output mechanism is available, with existing HTTP
: and FTP modules and combined to an URI library.