How to Install and Uninstall libstring-expand-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 05,2024

1. Install "libstring-expand-perl" package

In this section, we are going to explain the necessary steps to install libstring-expand-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libstring-expand-perl

2. Uninstall "libstring-expand-perl" package

Here is a brief guide to show you how to uninstall libstring-expand-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libstring-expand-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libstring-expand-perl package on Ubuntu 21.10 (Impish Indri)

Package: libstring-expand-perl
Architecture: all
Version: 0.04-3
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Depends: perl
Filename: pool/universe/libs/libstring-expand-perl/libstring-expand-perl_0.04-3_all.deb
Size: 7382
MD5sum: 43d598aa8c8f402433ae534f52cc3c38
SHA1: bfb0e5eb41d684e5c47a9446547d07ef18f02d88
SHA256: dc67ac098f07a822dba1c4a454676733a59e536aa0a5a91ba70b3c0024add22e
SHA512: 76ab978d02712cdae8db495f6a556c6db08b4c00c0329ac9e91560b275e1c798055b2bb8371dc2b7987dcb7f8af3916fcb2f8eb7d12a87b0ea33894bdf8558d8
Homepage: https://metacpan.org/release/String-Expand
Description-en: string utility functions for expanding variables in self-referential sets
String::Expand implements utility functions for expanding embedded variables
in a string. Variable references are embedded in strings in a similar form to
the Bourne shell, namely, in the form $NAME or ${OTHER_NAME}. In the former
case, the NAME must consist of a capital letter or underscore, and may be
followed by zero or more capital letters, digits or underscores. In the
latter case, the name can consist of any characters, but will be terminated
by the first close brace character '}'.
.
This is especially useful if you want to expand environment variables
inside strings.
.
The string may also contain literal dollar marks, escaped by \$, and literal
escape marks, escaped by \\. These will be converted to $ and \ respectively
on return.
.
While there are many other modules that also provide expansion such as this,
this module provides the function expand_strings(), which will perform
variable expansions in all the values in a given hash, where values can refer
to other values within the same hash.
Description-md5: 512ffe22ae6b6306b87375eb93c73e29