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

Last updated: September 20,2024

1. Install "libtest-mockmodule-perl" package

Please follow the guidelines below to install libtest-mockmodule-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libtest-mockmodule-perl" package

This is a short guide on how to uninstall libtest-mockmodule-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libtest-mockmodule-perl
Priority: extra
Section: universe/perl
Installed-Size: 27
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.11-1
Depends: perl, libsuper-perl
Filename: pool/universe/libt/libtest-mockmodule-perl/libtest-mockmodule-perl_0.11-1_all.deb
Size: 10260
MD5sum: 174d4be9d04efb6f1b4841a5e813faae
SHA1: 33d353be58e03dc9a5d53e12e874cc9efe72bdf2
SHA256: f9a6bcf1b587d7b26e3de5150a6c511526fe1c99a8e5a3bdbfa2f0ac746f9ba0
Description-en: Perl module to override subroutines in a module for unit testing
Test::MockModule lets you temporarily redefine subroutines in other
packages for the purposes of unit testing.
.
A Test::MockModule object is set up to mock subroutines for a given
module. The object remembers the original subroutine so it can be
easily restored. This happens automatically when all MockModule
objects for the given module go out of scope, or when you unmock()
the subroutine.
Description-md5: ed61c3c03517795a6ff4b2cebab46e3c
Homepage: https://metacpan.org/release/Test-MockModule
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu