How to Install and Uninstall php7.2-xml Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: June 18,2024

1. Install "php7.2-xml" package

Please follow the guidance below to install php7.2-xml on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php7.2-xml

2. Uninstall "php7.2-xml" package

This is a short guide on how to uninstall php7.2-xml on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php7.2-xml $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-xml package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.2-xml
Source: php7.2
Priority: optional
Section: php
Installed-Size: 445
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-33+ubuntu18.04.1+deb.sury.org+1
Replaces: php7.2-xsl (<< 7.0.3-6~)
Provides: php-dom, php-simplexml, php-wddx, php-xml, php-xmlreader, php-xmlwriter, php-xsl, php7.2-dom, php7.2-simplexml, php7.2-wddx, php7.2-xmlreader, php7.2-xmlwriter, php7.2-xsl
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-33+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.25)
Breaks: php7.2-xsl (<< 7.0.3-6~)
Filename: pool/main/p/php7.2/php7.2-xml_7.2.34-33+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 107364
MD5sum: c7c13356fa1f40f65ddd829cbf221e0d
SHA1: 2063e2a815fd2cee8a0908a5304d5b14c2d91f4d
SHA256: b825b94305c9c35331c768ac661b797bb95361ea81fe3964882b8a0a408d8938
Description: DOM, SimpleXML, WDDX, XML, and XSL module for PHP
Description-md5: 93564c1f85ab0433b7e82cdaf7796976

Package: php7.2-xml
Architecture: amd64
Version: 7.2.24-0ubuntu0.18.04.13
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 444
Provides: php-dom, php-simplexml, php-wddx, php-xml, php-xmlreader, php-xmlwriter, php-xsl, php7.2-dom, php7.2-simplexml, php7.2-wddx, php7.2-xmlreader, php7.2-xmlwriter, php7.2-xsl
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.24-0ubuntu0.18.04.13), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.25)
Breaks: php7.2-xsl (<< 7.0.3-6~)
Replaces: php7.2-xsl (<< 7.0.3-6~)
Filename: pool/main/p/php7.2/php7.2-xml_7.2.24-0ubuntu0.18.04.13_amd64.deb
Size: 107352
MD5sum: c52c625ff3554ef9455d5cdf405df5a3
SHA1: 98bac5d039a800c960ba5c4889b8451f67446bee
SHA256: 47097ccea9692a5f8c3a2143ce5e32e1c4f870363dbad625de85a8e2a78bfe35
SHA512: 35df58313c60d5737959f43f16e43510514f5f4d7b2cb827fd27e49c0463792f2de9f5f98b16a19912247b3c6384125261f8b0629456f1478110336e68c42e34
Homepage: http://www.php.net/
Description: DOM, SimpleXML, WDDX, XML, and XSL module for PHP
Description-md5: 93564c1f85ab0433b7e82cdaf7796976
Supported: 5y

Package: php7.2-xml
Architecture: amd64
Version: 7.2.3-1ubuntu1
Priority: optional
Section: php
Source: php7.2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 444
Provides: php-dom, php-simplexml, php-wddx, php-xml, php-xmlreader, php-xmlwriter, php-xsl, php7.2-dom, php7.2-simplexml, php7.2-wddx, php7.2-xmlreader, php7.2-xmlwriter, php7.2-xsl
Depends: php-common (>= 1:35), ucf, php7.2-common (= 7.2.3-1ubuntu1), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.25)
Breaks: php7.2-xsl (<< 7.0.3-6~)
Replaces: php7.2-xsl (<< 7.0.3-6~)
Filename: pool/main/p/php7.2/php7.2-xml_7.2.3-1ubuntu1_amd64.deb
Size: 107076
MD5sum: f19dc7fed9fe8f76fa1c4f062270498a
SHA1: dbf6a229f63f7b94f13cf8d3d419ef192bfc1bda
SHA256: 62acd5d4fdd0cc44b30a5f042a2bae0f2a72ec2b197055a9ba76f5cd2f4486a8
Homepage: http://www.php.net/
Description: DOM, SimpleXML, WDDX, XML, and XSL module for PHP
Description-md5: 93564c1f85ab0433b7e82cdaf7796976
Supported: 5y