How to Install and Uninstall libxml-struct-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "libxml-struct-perl" package

This tutorial shows how to install libxml-struct-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libxml-struct-perl

2. Uninstall "libxml-struct-perl" package

This guide covers the steps necessary to uninstall libxml-struct-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libxml-struct-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libxml-struct-perl package on Ubuntu 21.10 (Impish Indri)

Package: libxml-struct-perl
Architecture: all
Version: 0.27-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 76
Depends: libmoo-perl, libxml-libxml-perl, perl
Enhances: libcatmandu-perl
Filename: pool/universe/libx/libxml-struct-perl/libxml-struct-perl_0.27-1_all.deb
Size: 32976
MD5sum: 35cf4348eb0a65b8c9d4637f3ed97e7e
SHA1: ce7178ebf4f69da75ed52d692ed3fe7b46b66b77
SHA256: f9ff58bc36889d8799619900d25423a95bdfe8f72c188280284a34642a41199f
SHA512: b9c6c77632a89c2671a0bcb87d6826b20cdc03107a882316b13787200e04e341e2c3d859830779dd489a46b6566a320cf5e0636533314152cede398b4ea6d536
Homepage: https://github.com/nichtich/XML-Struct
Description-en: represent XML as data structure preserving element order
XML::Struct implements a mapping between XML and Perl data structures.
By default, the mapping preserves element order,
so it also suits for "document-oriented" XML.
In short, an XML element is represented
as array reference with three parts:
.
[ $name => \%attributes, \@children ]
.
This data structure corresponds to the abstract data model
of MicroXML ,
a simplified subset of XML.
.
If your XML documents don't contain relevant attributes,
you can also choose to map to this format:
.
[ $name => \@children ]
.
Both parsing (with XML::Struct::Reader or function readXML)
and serializing (with XML::Struct::Writer or function writeXML)
are fully based on XML::LibXML,
so performance is better than XML::Simple
and similar to XML::LibXML::Simple.
Description-md5: 45beb439bdb37321af5315add9767f73