How to Install and Uninstall libhtml-truncate-perl Package on Kali Linux
Last updated: November 21,2024
1. Install "libhtml-truncate-perl" package
This tutorial shows how to install libhtml-truncate-perl on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
libhtml-truncate-perl
Copied
2. Uninstall "libhtml-truncate-perl" package
This tutorial shows how to uninstall libhtml-truncate-perl on Kali Linux:
$
sudo apt remove
libhtml-truncate-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libhtml-truncate-perl package on Kali Linux
Package: libhtml-truncate-perl
Version: 0.20-3
Installed-Size: 42
Maintainer: Debian Perl Group
Architecture: all
Depends: perl:any, libhtml-parser-perl, libhtml-tagset-perl
Size: 18520
SHA256: ab86936f9c93c87b6c9b327eb77644204eb46a176e487c1b4aa3f9f27c0ccb2e
SHA1: 0b7b041bfefc3e1ddce66e771f852ba3d57ab01a
MD5sum: 2b662089daab1d4cf19e1f985a6dbab7
Description: Perl module to truncate HTML by percentage or character count
When working with text it is common to want to truncate strings to make them
fit a desired context. E.g., you might have a menu that is only 100px wide and
prefer text doesn't wrap so you'd truncate it around 15-30 characters,
depending on preference and typeface size. This is trivial with plain text
using substr but with HTML it is somewhat difficult because whitespace has
fluid significance and open tags that are not properly closed destroy
well-formedness and can wreck an entire layout.
.
HTML::Truncate attempts to account for those two problems by padding truncation
for spacing and entities and closing any tags that remain open at the point of
truncation.
Description-md5:
Homepage: https://metacpan.org/release/HTML-Truncate
Tag: devel::lang:perl, devel::library, implemented-in::perl
Section: perl
Priority: optional
Filename: pool/main/libh/libhtml-truncate-perl/libhtml-truncate-perl_0.20-3_all.deb
Version: 0.20-3
Installed-Size: 42
Maintainer: Debian Perl Group
Architecture: all
Depends: perl:any, libhtml-parser-perl, libhtml-tagset-perl
Size: 18520
SHA256: ab86936f9c93c87b6c9b327eb77644204eb46a176e487c1b4aa3f9f27c0ccb2e
SHA1: 0b7b041bfefc3e1ddce66e771f852ba3d57ab01a
MD5sum: 2b662089daab1d4cf19e1f985a6dbab7
Description: Perl module to truncate HTML by percentage or character count
When working with text it is common to want to truncate strings to make them
fit a desired context. E.g., you might have a menu that is only 100px wide and
prefer text doesn't wrap so you'd truncate it around 15-30 characters,
depending on preference and typeface size. This is trivial with plain text
using substr but with HTML it is somewhat difficult because whitespace has
fluid significance and open tags that are not properly closed destroy
well-formedness and can wreck an entire layout.
.
HTML::Truncate attempts to account for those two problems by padding truncation
for spacing and entities and closing any tags that remain open at the point of
truncation.
Description-md5:
Homepage: https://metacpan.org/release/HTML-Truncate
Tag: devel::lang:perl, devel::library, implemented-in::perl
Section: perl
Priority: optional
Filename: pool/main/libh/libhtml-truncate-perl/libhtml-truncate-perl_0.20-3_all.deb