How to Install and Uninstall libtest-weaken-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "libtest-weaken-perl" package

This tutorial shows how to install libtest-weaken-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libtest-weaken-perl" package

Please follow the instructions below to uninstall libtest-weaken-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libtest-weaken-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libtest-weaken-perl
Priority: optional
Section: universe/perl
Installed-Size: 121
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 3.022000-1
Depends: perl
Filename: pool/universe/libt/libtest-weaken-perl/libtest-weaken-perl_3.022000-1_all.deb
Size: 36354
MD5sum: 830cc8f772d642242d519fe3ccba090e
SHA1: eeff45b61e5de38495108ac7a5852092527305ca
SHA256: e1597490cce469b27b8f41c19840da40e253d939fe7996f319202c0855f857fd
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
Homepage: http://search.cpan.org/dist/Test-Weaken/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu