How to Install and Uninstall php8.1-xml Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: October 06,2024

1. Install "php8.1-xml" package

Here is a brief guide to show you how to install php8.1-xml on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.1-xml

2. Uninstall "php8.1-xml" package

Please follow the steps below to uninstall php8.1-xml on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.1-xml $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-xml package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.1-xml
Source: php8.1
Priority: optional
Section: php
Installed-Size: 481
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php8.1-xsl (<< 7.0.3-6~)
Provides: php-dom, php-simplexml, php-xml, php-xmlreader, php-xmlwriter, php-xsl, php8.1-dom, php8.1-simplexml, php8.1-xmlreader, php8.1-xmlwriter, php8.1-xsl
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.25)
Breaks: php8.1-xsl (<< 7.0.3-6~)
Filename: pool/main/p/php8.1/php8.1-xml_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 109328
MD5sum: 818a54d28d671ddcbd358791a8428202
SHA1: a87d9848a0734855c2fa7ea6f945836b35318d90
SHA256: b22cd0df03ff98e8bfd751bfb74d9c98bf52a206b4dd25bcc4abf6bc40d97533
Description: DOM, SimpleXML, XML, and XSL module for PHP
Description-md5: 9dffe9f3f61ff368673fc5a2dcd65841