How to Install and Uninstall php-xml.x86_64 Package on Amazon Linux 2

Last updated: July 01,2024

1. Install "php-xml.x86_64" package

Please follow the instructions below to install php-xml.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-xml.x86_64

2. Uninstall "php-xml.x86_64" package

This guide covers the steps necessary to uninstall php-xml.x86_64 on Amazon Linux 2:

$ sudo yum remove php-xml.x86_64 $ sudo yum autoremove

3. Information about the php-xml.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : php-xml
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 732 k
Repo : installed
From repo : amzn2extra-php7.4
Summary : A module for PHP applications which use XML
URL : http://www.php.net/
License : PHP
Description : The php-xml package contains dynamic shared objects which add
: support to PHP for manipulating XML documents using the DOM tree,
: and performing XSL transformations on XML documents.