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

Last updated: November 16,2024

1. Install "php7.4-xml" package

In this section, we are going to explain the necessary steps to install php7.4-xml on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.4-xml" package

This tutorial shows how to uninstall php7.4-xml on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.4-xml
Source: php7.4
Priority: optional
Section: php
Installed-Size: 397
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1
Replaces: php7.4-xsl (<< 7.0.3-6~)
Provides: php-dom, php-simplexml, php-xml, php-xmlreader, php-xmlwriter, php-xsl, php7.4-dom, php7.4-simplexml, php7.4-xmlreader, php7.4-xmlwriter, php7.4-xsl
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.25)
Breaks: php7.4-xsl (<< 7.0.3-6~)
Filename: pool/main/p/php7.4/php7.4-xml_7.4.30-5+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 95592
MD5sum: 9285b82bead0d5c16175fe8c1fd6dda2
SHA1: ea0d541a1b7d838fba590bad4a60ecd8fabd332d
SHA256: 533fc96b8cd5dd3f79841746286db550d43d8803630261b9e6da5ea25068d452
Description: DOM, SimpleXML, XML, and XSL module for PHP
Description-md5: 9dffe9f3f61ff368673fc5a2dcd65841