How to Install and Uninstall libtest-weaken-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "libtest-weaken-perl" package

This guide covers the steps necessary to install libtest-weaken-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtest-weaken-perl

2. Uninstall "libtest-weaken-perl" package

Please follow the step by step instructions below to uninstall libtest-weaken-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtest-weaken-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtest-weaken-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtest-weaken-perl
Architecture: all
Version: 3.022000-1.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: 93
Depends: perl:any
Filename: pool/universe/libt/libtest-weaken-perl/libtest-weaken-perl_3.022000-1.1_all.deb
Size: 34520
MD5sum: d8609c5256e5d3907f603c3ab5a1b468
SHA1: a5a0bf12ab7ef90c7e5f9801fbbba2733684f588
SHA256: 2c20f88ee58822e157d85b34537ee5d0d92751ec329cc8df587c9dfd7b3818a8
SHA512: ed69707ec7482549206882311c6939fb295f3370c166a71d44d23334ceb963e63f43eb871fcd972073d3cec787cb9915f4c164e2372daddfe1a5d9039bf3e533
Homepage: http://search.cpan.org/dist/Test-Weaken/
Description-en: Perl module to test that freed memory objects were actually freed
A memory leak occurs when a Perl data structure is destroyed but some of the
contents of that structure are not freed. Leaked memory is a useless
overhead. Leaks can significantly impact system performance. They can also
cause an application to abend due to lack of memory. In Perl, circular
references are a common cause of memory leaks. Circular references are
allowed in Perl, but data structures containing circular references will leak
memory unless the programmer takes specific measures to prevent leaks.
Preventive measures include weakening the references and arranging to break
the reference cycle just before the structure is destroyed. When using
circular references, it is easy to misdesign or misimplement a scheme for
preventing memory leaks. Mistakes of this kind have been hard to detect in a
test suite. Test::Weaken allows easy detection of unfreed Perl data and
allows you to examine the unfreed data, even data that would usually have
been made inaccessible.
Description-md5: 0c3cf3840e2215253fc5ab756a0288df