How to Install and Uninstall php-xml Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 15,2024

1. Install "php-xml" package

This guide let you learn how to install php-xml on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-xml

2. Uninstall "php-xml" package

Please follow the guidance below to uninstall php-xml on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove php-xml $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-xml package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-xml
Status: install ok installed
Priority: optional
Section: php
Installed-Size: 13
Maintainer: Debian PHP Maintainers
Architecture: all
Source: php-defaults (82+ubuntu16.04.1+deb.sury.org+1)
Version: 2:8.0+82+ubuntu16.04.1+deb.sury.org+1
Depends: php-common, php8.0-xml
Description: DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 8.0).
Description-md5: 44b0fdb436da73ec1673acc2e21fdddb

Package: php-xml
Architecture: all
Version: 1:7.0+35ubuntu6.1
Priority: optional
Section: universe/php
Source: php-defaults (35ubuntu6.1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: php-common, php7.0-xml
Filename: pool/universe/p/php-defaults/php-xml_7.0+35ubuntu6.1_all.deb
Size: 1954
MD5sum: 97dae3acfe77d144c7eff367bec2b232
SHA1: 731edeca2d13be2792d1d08014ce4a0318ac83e6
SHA256: c73669cb25c5168f7d332ff15ba5463f61afe21fd5b42634167bb6d26aef6586
SHA512: 83ccb0deb29ef802af1725afd8d994d4ba36d38b7c3af26bba88afd12f47938f5ff7be2e35c19ef8527c0da9844ce8763f102e8f851d02481008b69a9be745b4
Description-en: DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: b6916d9a5ce994a284ac90be10291474
Supported: 5y

Package: php-xml
Priority: optional
Section: universe/php
Installed-Size: 11
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Architecture: all
Source: php-defaults (35ubuntu6)
Version: 1:7.0+35ubuntu6
Depends: php-common, php7.0-xml
Filename: pool/universe/p/php-defaults/php-xml_7.0+35ubuntu6_all.deb
Size: 1954
MD5sum: ab35a0f128ddcaaa4c17ddf1893267da
SHA1: 4110a5a081766804f154bc2ffa9292ea44f01d9a
SHA256: 1d39426ffbe08bcf69e1f91d699eb4b6aff6b2563413e7fb13cc335f05b5d81d
Description-en: DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
This package provides a DOM, SimpleXML, WDDX, XML, and XSL module for PHP.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
.
This package is a dependency package, which depends on Debian's default
PHP version (currently 7.0).
Description-md5: b6916d9a5ce994a284ac90be10291474
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m